private void OnSceneGroup1Unloaded(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { Debug.Log("Done"); Loader.LoadAndActivateSceneGroup(SceneGroup1, OnSceneGroup1LoadedAndActivated); }
private void OnUnloadSceneGroup2Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { loadedSceneGroup2 = null; ReactivateButtons(); }
private void OnSceneGroup1LoadedAndActivated(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { Loader.UnloadSceneGroup(sceneGroupHandle, OnSceneGroup1Unloaded); }
private void OnLoadSceneGroup2Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { loadedSceneGroup2 = sceneGroupHandle; Loader.ActivateSceneGroup(sceneGroupHandle, OnActivateSceneGroup2Done); }
private void OnActivateSceneGroup2Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { ReactivateButtons(); }
private void OnSwitchActivate1Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { Loader.UnloadSceneGroup(loadedSceneGroup2, OnSwitchUnload2Done); }
private void OnSwitchLoad1Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { loadedSceneGroup1 = sceneGroupHandle; Loader.ActivateSceneGroup(sceneGroupHandle, OnSwitchActivate1Done); }
private void OnSwitchUnload1Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { loadedSceneGroup1 = null; Loader.LoadSceneGroup(SceneGroup2, OnSwitchLoad2Done); }
private void OnLoadAndActivateSceneGroup2Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { loadedSceneGroup2 = sceneGroupHandle; ReactivateButtons(); }
private void OnSceneGroup1Loaded(SceneGroupLoader.SceneGroupHandle sceneGroupHandle) { Loader.ActivateSceneGroup(sceneGroupHandle, OnSceneGroup1Activated); }