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