void OnInitialize() { //初期起動シーン取得 changeSceneType = CurrentScene.GetSceneType(); CommonFSM.Instance.SendFsmEvent("INITIALIZED"); }
void OnCallSceneInitialized() { #if BUILD_TYPE_DEBUG Debug.Log("CALL SceneCommon#OnCallSceneInitialized:" + CurrentScene.GetSceneType()); #endif CurrentScene.OnInitialized(); isLoadingScene = false; CommonFSM.Instance.SendFsmNextEvent(); }
void OnShouldLoadResidentResource() { if (CurrentScene.GetSceneType() == SceneType.SceneTitle) { CommonFSM.Instance.SendFsmNegativeEvent(); return; } if (!UnitIconImageProvider.Instance.IsIconPackListEmpty()) { CommonFSM.Instance.SendFsmNegativeEvent(); return; } CommonFSM.Instance.SendFsmPositiveEvent(); }