Пример #1
0
 private void OnSceneGroup1Unloaded(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     Debug.Log("Done");
     Loader.LoadAndActivateSceneGroup(SceneGroup1, OnSceneGroup1LoadedAndActivated);
 }
Пример #2
0
 private void OnUnloadSceneGroup2Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     loadedSceneGroup2 = null;
     ReactivateButtons();
 }
Пример #3
0
 private void OnSceneGroup1LoadedAndActivated(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     Loader.UnloadSceneGroup(sceneGroupHandle, OnSceneGroup1Unloaded);
 }
Пример #4
0
 private void OnLoadSceneGroup2Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     loadedSceneGroup2 = sceneGroupHandle;
     Loader.ActivateSceneGroup(sceneGroupHandle, OnActivateSceneGroup2Done);
 }
Пример #5
0
 private void OnActivateSceneGroup2Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     ReactivateButtons();
 }
Пример #6
0
 private void OnSwitchActivate1Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     Loader.UnloadSceneGroup(loadedSceneGroup2, OnSwitchUnload2Done);
 }
Пример #7
0
 private void OnSwitchLoad1Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     loadedSceneGroup1 = sceneGroupHandle;
     Loader.ActivateSceneGroup(sceneGroupHandle, OnSwitchActivate1Done);
 }
Пример #8
0
 private void OnSwitchUnload1Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     loadedSceneGroup1 = null;
     Loader.LoadSceneGroup(SceneGroup2, OnSwitchLoad2Done);
 }
Пример #9
0
 private void OnLoadAndActivateSceneGroup2Done(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     loadedSceneGroup2 = sceneGroupHandle;
     ReactivateButtons();
 }
Пример #10
0
 private void OnSceneGroup1Loaded(SceneGroupLoader.SceneGroupHandle sceneGroupHandle)
 {
     Loader.ActivateSceneGroup(sceneGroupHandle, OnSceneGroup1Activated);
 }