Function GraphNode.SetConnectivityDirty

SetConnectivityDirty ()

Inform the system that the node's connectivity has changed.

Public
void SetConnectivityDirty ()

Inform the system that the node's connectivity has changed.

This is used for recalculating the connected components of the graph.

You must call this method if you change the connectivity or walkability of the node without going through the high level methods such as the Walkable property or the Connect method. For example if your manually change the Pathfinding.MeshNode.connections array you need to call this method.