public void TryConsumeHealthPotion() { if (healthPotionAmount > 0) { healthPotionAmount--; OnHealthPotionAmountChanged?.Invoke(this, EventArgs.Empty); FlashColor(Color.green); } }
private void AddHealthPotion() { healthPotionAmount++; OnHealthPotionAmountChanged?.Invoke(this, EventArgs.Empty); }
private void AddHealthPotion() { PlayerHealthManager.currentHealth++; OnHealthPotionAmountChanged?.Invoke(this, EventArgs.Empty); }