예제 #1
0
        public override IEnumerator InitializeEnumerator(object param)
        {
            var windowPath = ExampleResourcePrefabPath.GetWindowPath(OutGameWindowType.HomeWindow.ToString());
            var screenPath = ExampleResourcePrefabPath.GetScreenPath(OutGameScreenType.HomeScreen.ToString());

            SceneLoader.LoadWindow(windowPath, screenPath);
            yield break;
        }
예제 #2
0
 private void SetEvent()
 {
     _view.OnClickedMoveScreenAction   += MoveScreen;
     _view.OnClickedInGameButtonAction += () =>
     {
         SceneLoader.LoadWindow(
             ExampleResourcePrefabPath.GetWindowPath(OutGameWindowType.PreBattleWindow.ToString()),
             ExampleResourcePrefabPath.GetScreenPath(OutGameScreenType.PreBattleScreen.ToString())
             );
     };
 }