Takes damage from a Hitbox component when intersecting. Requires a trigger collider. More...
Public Attributes | |
UnityEvent< int > | onHealthUpdate = new() |
UnityEvent< GameObject > | onDie = new() |
Properties | |
bool | IsAlive [get] |
int | Health [get, set] |
Takes damage from a Hitbox component when intersecting. Requires a trigger collider.
UnityEvent<GameObject> Hurtbox.onDie = new() |
UnityEvent<int> Hurtbox.onHealthUpdate = new() |
|
getset |
|
get |