void Start() { gameOver = false; restart = false; restartText.text = ""; GameOverText.text = ""; score = 0; UpdateScore(); StartCoroutine (SpawnWaves(waveCount)); nextGame = GameObject.Find("_GM").GetComponent<NextGameManager>(); Time.timeScale = 1f; }
void Start() { TotalNumberOfGhosts = 8; gameManager = GameObject.Find("_GM").GetComponent<NextGameManager>(); }