Ejemplo n.º 1
0
 void GameSceneLoaded(Scene scene, LoadSceneMode mode)
 {
     if (scene.name.Equals("GameScene"))
     {
         roundController.InitRound();
         GameStatus = GameState.Game_Prelude;
     }
     else if (scene.name.Equals("GameDone"))
     {
         GameStatus = GameState.Done;
         Debug.Log("GAME DONE!");
     }
 }