示例#1
0
 public void AddHealth()
 {
     if (potCount >= 1)
     {
         soundManager.Play("Health Pot");
         playerClass.AddHealth(potency);
         potCount--;
     }
     else
     {
         Debug.Log("No more pots");
     }
 }