Pathfinding.QuadtreeNode.ClearConnections C# (CSharp) Method

ClearConnections() public method

public ClearConnections ( bool alsoReverse ) : void
alsoReverse bool
return void
		public override void ClearConnections (bool alsoReverse) {
			if (alsoReverse) {
				for (int i=0;i<connections.Length;i++) {
					connections[i].RemoveConnection (this);
				}
			}
			
			connections = null;
			connectionCosts = null;
		}