Nodes
Namespace
Init
Called when node is created in a graph
OnExecute
Called when node is being executed. This is where your custom code belongs to when creating custom nodes.
FlowReactorComponent
The actual FlowReactor component which executes this graph in the scene
ExecuteNext
Execute the next node which is connected on the nodes output port.
Enum _outpuEnum
Pass the output port as an enum (see example below)
int _output
The output port index
FlowReactorComponent _flowReactor
The current FlowReactor component
Example
OnNodeDisable
Called by FlowReactorComponent OnDisable
OnInitialize
Similar to the Monobehaviour Awake. Gets called on initialization on every node in all graphs and subgraphs. No matter if the sub-graph is currently active or not
OnGraphStart
OnGraphStart should be only used by the OnStart node. Unlike the OnInitialization, OnStart only gets called in the root graph and only if the graph is active.
OnUpdate
Similar to the Monobehaviour Update method. Gets called on every frame.
OnLateUpdate
Similar to the Monobehaviour LateUpdate method.
OnFixedUpdate
Similar to the Monobehaviour FixedUpdate method.
OnApplicationExit
Gets called on application quit
OnSelect
Editor method which gets called when the node has been selected.
OnDelete
Editor method. Gets called when node gets deleted
DrawCustomInspector
Override this method to create custom node inspector GUIs
DrawGUI
Draws the default node GUI. Override this method to add custom GUI Elements
Last updated