コード例 #1
0
        private static void Internal_LoadScenesAsync(SceneStack stack, bool additive = false)
        {
            var masterOps = SceneManager.LoadSceneAsync(stack.MasterScene.SceneName);

            masterOps.completed += (ao) => { Debug.Log(ao.isDone); };

//            foreach (var subScene in stack.SubScenes)
//            {
//                var ops = SceneManager.LoadSceneAsync (subScene.SceneName);
//                waitingForActivation.Add (ops);
//            }
        }
コード例 #2
0
 public static void LoadSceneStack(SceneStack stack, bool additive = false)
 {
     Internal_LoadScenesAsync(stack, additive);
 }
コード例 #3
0
 public SceneStackEnumerator(SceneStack sceneStack)
 {
     this.sceneStack = sceneStack;
 }