public void PlayerDeath() { playerLives -= 1; lifeDisplayPanel.RemoveLife(); if (audioSource) { audioSource.PlayOneShot(playerDeathClip); } if (playerLives > 0) { RespawnPlayer(); } else { Scorekeeper.GameOver(); } }