private System.Collections.IEnumerator LoadNextSceneRoutine(SceneSequence owner, Scene scene, System.Action callback) { owner._currentScene = scene; yield return(scene.LoadAsync()); yield return(null); if (callback != null) { callback(); } this.SetSignal(); }
public void Start(SceneSequence owner, Scene scene, System.Action callback) { _routine = GameLoopEntry.Hook.StartRadicalCoroutine(this.LoadNextSceneRoutine(owner, scene, callback)); }