Starting a flow

The node that initiates a flow will be tied to an event, such as a collision between two objects or the execution of a phase in the Unity script lifecycle. You can add these nodes from the Events section of the right-click menu.

For more information about the lifecycle stages, refer to Order of execution for event functions in the Unity documentation.

In the following image, an Update node has been added to start a flow. The Update node is activated in the update scripting phase. The Exit port of the Update node is connected to the Enter port of the Translate node. This will cause the translation to be activated and applied in the update scripting phase.

Example AFX graph with a flow

Last updated