Interface IUpdate
Interface for receiving update calls on INodeData, issued once for every call to Update() if the implementing node in question has registered itself for updating
, or .
Note that there is NO implicit nor explicit ordering between nodes' Update(UpdateContext), in addition it is not stable either.
If you need updates to occur in topological order (trickled downstream) in simulation, you should emit a message downstream that other nodes react to through connections.
This supersedes
Namespace: Unity.DataFlowGraph
Syntax
public interface IUpdate
Methods
Update(UpdateContext)
Update function.
IUpdate.
Declaration
void Update(UpdateContext ctx)
Parameters
Type | Name | Description |
---|---|---|
UpdateContext | ctx |
Remarks
It is undefined behaviour to throw an exception from this method.