Send Event To Children
Send a global event to all FSMs on a GameObject and its children.
Parameters
| Parameter | Description |
|---|---|
| Event | The event to send. |
| Data | Optional data to send with the event. |
| Parent | The GameObject to send the event to. |
| Delay | Optional delay in seconds before sending the event. |
Details
The event is processed first by the current state, then any child states, and then the parent state.
If the state has multiple regions, the event is sent to each region.
Debugging
Check events sent in the FSM Log