public void DestroyPlayer() { lives--; SetLivesText(); if (lives < 1) { inGameMenu.MissionFailed(); Destroy(player); } else { RespawnPlayer(); } }