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); // } }
public static void LoadSceneStack(SceneStack stack, bool additive = false) { Internal_LoadScenesAsync(stack, additive); }
public SceneStackEnumerator(SceneStack sceneStack) { this.sceneStack = sceneStack; }