-
Notifications
You must be signed in to change notification settings - Fork 2
Port Operations
Hippolippo edited this page Oct 17, 2022
·
1 revision
protected AgentProperty GetProperty(string name);-
name
The name of the property port as set in thenameorreference_nameparameter ofPlasmaModding.CustomNodeManager.CreatePropertyPort
- The
AgentPropertycorresponding to the namename, callAgentProperty.GetValue()on this object to get theBehavior.Datadata from it
protected void WriteOutput(string name, Behavior.Data data);-
name
The name of the output port as set in thenameorreference_nameparameter ofPlasmaModding.CustomNodeManager.CreateOutputPort -
data
The data that should be written to the output port
- Writes
datato the data of the Output Port with the name or reference namename