Interface IInit
Interface for receiving constructor calls on INodeData, whenever a new node is created.
This supersedes
Namespace: Unity.DataFlowGraph
Syntax
public interface IInit
Methods
Init(InitContext)
Constructor function, called for each instantiation of this type. Create<TDefinition>()
Declaration
void Init(InitContext ctx)
Parameters
Type | Name | Description |
---|---|---|
InitContext | ctx | Provides initialization context and do-once operations for this particular node. Init(InitContext) |
Remarks
It is undefined behaviour to throw an exception from this method.