Beispiel #1
0
 public void heal()
 {
     if (current_hp < MAX_HP)
     {
         if (heart_audio_prefab != null)
         {
             Instantiate(heart_audio_prefab);
         }
         HP_UI.healHeart();
         current_hp++;
     }
 }