|
void | DoEvent (GameObject go, Character c) |
|
NodePort | AddInstanceInput (Type type, Node.ConnectionType connectionType=Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint=TypeConstraint.None, string fieldName=null) |
|
NodePort | AddInstanceOutput (Type type, Node.ConnectionType connectionType=Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint=TypeConstraint.None, string fieldName=null) |
|
void | RemoveInstancePort (string fieldName) |
|
void | RemoveInstancePort (NodePort port) |
|
void | ClearInstancePorts () |
|
void | UpdateStaticPorts () |
| Update static ports to reflect class fields. This happens automatically on enable. More...
|
|
void | VerifyConnections () |
| Checks all connections for invalid references, and removes them. More...
|
|
NodePort | AddDynamicInput (Type type, Node.ConnectionType connectionType=Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint=TypeConstraint.None, string fieldName=null) |
| Convenience function. More...
|
|
NodePort | AddDynamicOutput (Type type, Node.ConnectionType connectionType=Node.ConnectionType.Multiple, Node.TypeConstraint typeConstraint=TypeConstraint.None, string fieldName=null) |
| Convenience function. More...
|
|
void | RemoveDynamicPort (string fieldName) |
| Remove an dynamic port from the node More...
|
|
void | RemoveDynamicPort (NodePort port) |
| Remove an dynamic port from the node More...
|
|
void | ClearDynamicPorts () |
| Removes all dynamic ports from the node More...
|
|
NodePort | GetOutputPort (string fieldName) |
| Returns output port which matches fieldName More...
|
|
NodePort | GetInputPort (string fieldName) |
| Returns input port which matches fieldName More...
|
|
NodePort | GetPort (string fieldName) |
| Returns port which matches fieldName More...
|
|
bool | HasPort (string fieldName) |
|
T | GetInputValue< T > (string fieldName, T fallback=default(T)) |
| Return input value for a specified port. Returns fallback value if no ports are connected More...
|
|
T[] | GetInputValues< T > (string fieldName, params T[] fallback) |
| Return all input values for a specified port. Returns fallback value if no ports are connected More...
|
|
virtual object | GetValue (NodePort port) |
| Returns a value based on requested port output. Should be overridden in all derived nodes with outputs. More...
|
|
virtual void | OnCreateConnection (NodePort from, NodePort to) |
| Called after a connection between two NodePorts is created More...
|
|
virtual void | OnRemoveConnection (NodePort port) |
| Called after a connection is removed from this port More...
|
|
void | ClearConnections () |
| Disconnect everything from this node More...
|
|