![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
A node which does something. More...
Public Member Functions | |
abstract void | DoAction (Character c, DialogSystem d) |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
enum class | ShowBackingValue { Never , Unconnected , Always } |
Used by InputAttribute and OutputAttribute to determine when to display the field value associated with a NodePort More... | |
enum class | ConnectionType { Multiple , Override } |
enum class | TypeConstraint { None , Inherited , Strict , InheritedInverse } |
Tells which types of input to allow More... | |
![]() | |
NodeGraph | graph |
Parent NodeGraph More... | |
Vector2 | position |
Position on the NodeGraph More... | |
![]() | |
static NodeGraph | graphHotfix |
Used during node instantiation to fix null/misconfigured graph during OnEnable/Init. Set it before instantiating a node. Will automatically be unset during OnEnable More... | |
![]() | |
void | OnEnable () |
virtual void | Init () |
Initialize node. Called on enable. More... | |
![]() | |
IEnumerable< NodePort > | InstancePorts [get] |
IEnumerable< NodePort > | InstanceOutputs [get] |
IEnumerable< NodePort > | InstanceInputs [get] |
IEnumerable< NodePort > | Ports [get] |
Iterate over all ports on this node. More... | |
IEnumerable< NodePort > | Outputs [get] |
Iterate over all outputs on this node. More... | |
IEnumerable< NodePort > | Inputs [get] |
Iterate over all inputs on this node. More... | |
IEnumerable< NodePort > | DynamicPorts [get] |
Iterate over all dynamic ports on this node. More... | |
IEnumerable< NodePort > | DynamicOutputs [get] |
Iterate over all dynamic outputs on this node. More... | |
IEnumerable< NodePort > | DynamicInputs [get] |
Iterate over all dynamic inputs on this node. More... | |
A node which does something.
|
pure virtual |
Implemented in PlatformerPro.Dialog.UpdatePortraitNode.