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)); }
public void LoadScene(string scene) { IEnumerator task1 = SceneUtility.CoroutineLoadScene(scene); SceneFaderManager.Instance.FadeAndPerformTasks(minSecondsDelay, task1); }