![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Base class for all node graphs More...
Public Member Functions | |
T | AddNode< T > () |
Add a node to the graph by type (convenience method - will call the System.Type version) More... | |
virtual Node | AddNode (Type type) |
Add a node to the graph by type More... | |
virtual Node | CopyNode (Node original) |
Creates a copy of the original node in the graph More... | |
virtual void | RemoveNode (Node node) |
Safely remove a node and all its connections More... | |
virtual void | Clear () |
Remove all nodes and connections from the graph More... | |
virtual XNode.NodeGraph | Copy () |
Create a new deep copy of this graph More... | |
Public Attributes | |
List< Node > | nodes = new List<Node>() |
All nodes in the graph. See: AddNode<T> More... | |
Protected Member Functions | |
virtual void | OnDestroy () |
Base class for all node graphs
|
virtual |
Add a node to the graph by type
T XNode.NodeGraph.AddNode< T > | ( | ) |
Add a node to the graph by type (convenience method - will call the System.Type version)
T | : | Node |
|
virtual |
Remove all nodes and connections from the graph
|
virtual |
Create a new deep copy of this graph
Creates a copy of the original node in the graph
|
protectedvirtual |
|
virtual |
Safely remove a node and all its connections
node | The node to remove |
All nodes in the graph. See: AddNode<T>