示例#1
0
            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();
            }
示例#2
0
 public void Start(SceneSequence owner, Scene scene, System.Action callback)
 {
     _routine = GameLoopEntry.Hook.StartRadicalCoroutine(this.LoadNextSceneRoutine(owner, scene, callback));
 }