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