Esempio n. 1
0
 public void Restart()
 {
     input.SwitchInputTo(false);
     asteroidSpawner.ClearAsteroids();
     playerMovement.ResetToCenter();
     playerLives.SpawnPlayer();
     Invoke("StartGame", spawnerData.TimeToNextRound);
 }