Function GridNodeBase.ClearConnections

ClearConnections (bool alsoReverse)

Remove all connections between this node and other nodes.

Public
void ClearConnections (

bool

alsoReverse

if true, neighbours will be requested to remove connections to this node.

)

Remove all connections between this node and other nodes.

Warning

If you pass false to the alsoReverse parameter, you must ensure that you preserve the required invariants of connections. See RemovePartialConnection.