示例#1
0
 public void OnDeath()
 {
     isDead = true;
     deathMenu.StartEndMenu(score);
     if (PlayerPrefs.GetFloat("Highscore") < score)
     {
         PlayerPrefs.SetFloat("Highscore", score);
     }
 }