Example #1
0
 protected virtual void GameStateChanged(GameModeManager.GameModeState state)
 {
     switch (state)
     {
     default:
         Debug.LogWarning("Game is currently in -NONE- game mode!");
         break;
     }
 }
        protected override void GameStateChanged(GameModeManager.GameModeState state)
        {
            switch (state)
            {
            case GameModeManager.GameModeState.TO_MAIN_MENU_FROM_LOADER:
                ToMainMenuFromLoader();
                break;

            case GameModeManager.GameModeState.IN_MAIN_MENU:
                InMainMenu();
                break;
            }
        }
Example #3
0
        protected override void GameStateChanged(GameModeManager.GameModeState state)
        {
            switch (state)
            {
            case GameModeManager.GameModeState.TO_GAME_FROM_MAIN_MENU:
                ToGameFromMainMenu();
                break;

            case GameModeManager.GameModeState.IN_GAME:
                InGame();
                break;

            case GameModeManager.GameModeState.DEVELOPMENT_SCENE:
                InGame();
                break;
            }
        }