Exemplo n.º 1
0
 public void StartGame()
 {
     StateManager.StateManagement("Normal");
     StartUI.SetActive(false);
     GameOverUI.SetActive(false);
     HighScoreUI.SetActive(false);
     ScoreManager.ResetScore();
     musicManager.ResumeVolume();
     lineSpawner.initialLineTime    = 1;
     playerController.rotateSpeed   = playerController.initialRotateSpeed;
     difficultyManager.inverseTimer = difficultyManager.initialInverseTimer;
     lineSpawner.Reset();
     lineSpawner.lineList.Clear();
 }