/// <summary> /// Heal a damage receiver /// </summary> /// <param name="damageReceiver">Damage receiver</param> public void Heal(IDamageReceiver damageReceiver) { if (damageReceiver == null) { Debug.LogError("Damage receiver is null"); return; } damageReceiver.Heal(AmountOfHealing); if (HealingDealedEvent == null) { HealingDealedEvent(AmountOfHealing); } }