Class GridNode Extends GridNodeBase
Node used for the GridGraph.
Public Methods
Remove all connections from this node.
Calls the delegate with all connections from this node.
Adjacent grid node in the specified direction.
Add a portal from this node to the specified node.
True if the node has a connection in the specified direction.
Open the node.
Disables all grid connections from this node.
Sets the state of all grid connections.
Enables or disables a connection in a specified direction on the graph.
Public Static Methods
Public Variables
Work in progress for a feature that required info about which nodes were at the border of the graph.
Inherited Public Members
Add a connection from this node to the specified node.
Connected component that contains the node.
Remove all connections from this node.
Same as ClearConnections, but does not clear grid connections, only custom ones (e.g added by AddConnection or a NodeLink component)
Checks if this node has a connection to the specified node.
Used to deserialize references to other nodes e.g connections.
Holds various bitpacked variables.
Calls the delegate with all connections from this node.
Hash code used for checking if the gizmos need to be updated.
Graph which this node belongs to.
Graph which contains this node.
Max number of graphs-1.
Internal unique index.
The index of the node in the grid.
Open the node.
Penalty cost for walking on this node.
Position of the node in world space.
A random point on the surface of the node.
Recalculates all connection costs from this node.
Removes any connection from this node to the specified node.
Used to serialize references to other nodes e.g connections.
The surface area of the node in square world units.
Node tag.
Temporary variable used internally when updating the graph.
True if the node is traversable.
Stores walkability before erosion is applied.
X coordinate of the node in the grid.
Z coordinate of the node in the grid.
Private/Protected Members
Destroys the node.
Bitpacked field holding several pieces of data.
Internal use only.
Bitfield containing the x and z coordinates of the node as well as the layer (for layered grid graphs).
Deprecated Members
True if the node has a connection in the specified direction.