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