Beispiel #1
0
 public void HPButton()
 {
     if (PlayerPrefs.GetInt("skill_value") == 0)
     {
         ui.OpenRewardPanel();
         return;
     }
     Lparams.Health(100);
     if (Lparams.playerHealth < 100)
     {
         SetSkill();
     }
 }
Beispiel #2
0
 public void SetHealth()
 {
     Lparams.Health(100);
 }