示例#1
0
 public void OnDeath()
 {
     isDeaD = true;
     if (PlayerPrefs.GetFloat("Highscore") < scorevalue)
     {
         PlayerPrefs.SetFloat("Highscore", scorevalue);
     }
     deathmenu.toggleEndMenu(scorevalue);
 }
示例#2
0
 public void onDeath()
 {
     isDead = true;
     if (score > PlayerPrefs.GetFloat("HighScore"))
     {
         PlayerPrefs.SetFloat("HighScore", score);
     }
     deathMenu.toggleEndMenu(score);
 }
示例#3
0
 public void onDeath()
 {
     isdead = true;
     deathmenu.toggleEndMenu(score);
 }
示例#4
0
 public void onDeath()
 {
     isDeath = true;
     deathMenu.toggleEndMenu(score);
 }