Function GlobalNodeStorage.DestroyNode

DestroyNode (GraphNode node)

Destroyes the given node.

Public
void DestroyNode (

GraphNode

node

)

Destroyes the given node.

This is to be called after the node has been disconnected from the graph so that it cannot be reached from any other nodes. It should only be called during graph updates, that is when the pathfinding threads are either not running or paused.

Warning

This method should not be called by user code. It is used internally by the system.