示例#1
0
        public void LoadActiveSceneWithExtrasWait()
        {
            IEnumerator task1 = SceneUtility.CoroutineLoadScene(scenes[0]);
            IEnumerator task2 = SceneUtility.CoroutineLoadScenesAdditive(scenes);
            IEnumerator task3 = SceneUtility.CoroutineLoadScenesAdditive(scenes, duplicateScenes: true);

            SceneFaderManager.Instance.FadeAndPerformTasks(5, task1, task2, task3);
        }
 public void CoroutineLoadScene(string scene)
 {
     StartCoroutine(SceneUtility.CoroutineLoadScene(scene));
 }
示例#3
0
        public void LoadScene(string scene)
        {
            IEnumerator task1 = SceneUtility.CoroutineLoadScene(scene);

            SceneFaderManager.Instance.FadeAndPerformTasks(minSecondsDelay, task1);
        }