Пример #1
0
 private void GameOver()
 {
     if (menu.staty.Life == 0)
     {
         SetVisibilityShip(false);
         Skins.ParticleOff();
         AudioSource.PlayClipAtPoint(Defeat, transform.position);
         StartCoroutine(SetPage());
         StopCoroutine(SetPage());
         Handheld.Vibrate();
         PlayerPrefs.Save();
     }
 }