public void PauseGame() { obstacleController.StopBlocks(); player.SetAlive(false); deathSound.Play(); deathMenu.gameObject.SetActive(true); }