JUtils
A unity utilities library
JUtils.IDamageEvent Interface Reference

Used to create more detailed damage events More...

Inheritance diagram for JUtils.IDamageEvent:

Properties

int damage [get, set]
 

Detailed Description

Used to create more detailed damage events

namespace Example
{
public class Player : MonoBehaviour
{
private void OnDamage(BulletDamageEvent bulletDamageEvent)
{
// Reacting to the event
}
private void OnDamage(IDamageEvent damageEvent)
{
// Normal event handler
}
}
}

Property Documentation

◆ damage

int JUtils.IDamageEvent.damage
getset

The documentation for this interface was generated from the following file: