protected void TriggerOnDamageReceived(float dmg) { if (OnDamageReceivedEvent != null) { OnDamageReceivedEvent.Invoke(this, dmg); } }
protected void TriggerOnDamageReceived(Character inflicter, float dmg) { if (OnDamageReceivedEvent != null) { OnDamageReceivedEvent.Invoke(inflicter); } }