public void GameOver() { PlayerPrefs.Save(); if (!TopPanel.activeInHierarchy) { DeadPanel.SetActive(true); } phoneUI.SetActive(false); TopPanel.SetActive(true); PowerOff(); Stop(); }