public void DisplayGameOver() { GameOverText.text = "Game Over"; if (score >= highScore) { StatSaver.SaveStats(highScore); } }
public void UpdateWave() { wave++; WaveText.text = "Wave: " + wave.ToString(); if (score >= highScore) { StatSaver.SaveStats(highScore); } }