public void EndGame() { if (m_gameOver.gameObject.activeSelf) { return; } m_gameOver.enabled = true; m_gameOver.gameObject.SetActive(true); m_gameStarted = false; m_planet.Infest(); }