A class in Root.Township, Alta.Intelligence.
AI hook that fires a hook event channel on the creature when the action starts and another when it ends, so other components can react.
Constructors
| Member | What it is |
|---|
EventChannelAiHook() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|
protected override void FinishedOrCancelled(IActiveAction finished) | Fires ended on the creature unless it's None. |
protected override void Used(IActiveAction active) | Fires started on the creature unless it's None. |