Class ObjBreakableEvents
Events related to ObjBreakable feature
Namespace: Axis.Events
Assembly: cs.temp.dll.dll
Syntax
public class ObjBreakableEvents : GroupEvents
Fields
OnBreak
Dispatched once breakable reached HP 0 and have broke.
Declaration
public UnityEvent OnBreak
Field Value
Type | Description |
---|---|
UnityEvent |
OnDamaged
Dispatched once breakable is damaged. Passing int value of that damage as parameter.
Declaration
public UnityEvent<int> OnDamaged
Field Value
Type | Description |
---|---|
UnityEvent<><int> |
OnHealed
Dispatched once breakable is healed. Passing int value of that heal as parameter.
Declaration
public UnityEvent<int> OnHealed
Field Value
Type | Description |
---|---|
UnityEvent<><int> |
Properties
EventCount
Declaration
public override int EventCount { get; }
Property Value
Type | Description |
---|---|
int |