示例#1
0
 public void StartGame()
 {
     Time.timeScale   = 0;
     CurrentGameState = GameState.Start;
     obstacleController.LoadNextObstacle();
     obstacleController.StartGame();
     playerController.SwitchControlPlayer(false);
     StartCoroutine(ReadyGameCroutine());
 }