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