Function LevelGridNode.RemovePartialConnection
RemovePartialConnection
(GraphNode node)
Removes any connection from this node to the specified node.
Public
void RemovePartialConnection (
node |
Removes any connection from this node to the specified node.
If no such connection exists, nothing will be done.
Note
This only removes the connection from this node to the other node. You may want to call the same function on the other node to remove its eventual connection to this node.
Version
Before 4.3.48 This method only handled custom connections (those added using link components or the AddConnection method). Regular grid connections had to be added or removed using Pathfinding.GridNode.SetConnectionInternal. Starting with 4.3.48 this method can remove all types of connections.