//When the game ends, stop spawning balls, show the GameOver Panel. public void GameOver() { bm.CancelInvoke(); score.hideScore(); gameoverman.ShowGameOverMenu(); }