Beispiel #1
0
 // Use method consumes the consumable and gives the player some health back
 public override void Use()
 {
     Debug.Log("Consuming " + name);
     PlayerHealthManager.FindObjectOfType <PlayerHealthManager>().Heal(healthGain);
     RemoveFromInventory();
 }