Skip to content

Send Event To GameObject

Send a global event to all FSM Components on a GameObject.

Parameters

Parameter Description
Event The event to send.
Data Optional data to send with the event.
GameObject he GameObject to send the Event to.
Also Send To Children Also send the Event to children of the GameObject.
NOTE: This is more expensive so only use if needed.
Delay Optional delay in seconds before sending the event.

Details

The action can target any component derived from BaseFsmComponent.

Debugging

Check events sent in the FSM Log