Пример #1
0
 public void OnDeath()
 {
     isDead = true;
     PlayerPrefs.SetFloat("HighScore", score);
     deathMenu.ToggleMainMenuForScore(score, coinCount);
 }