/// <summary> /// Take two GraphNode objects and remove any link they have as Neighbour. /// </summary> /// <param name="a"></param> /// <param name="b"></param> public void UnlinkGraphNodes(GraphNode a, GraphNode b) { a.RemoveNeighbour(b); b.RemoveNeighbour(a); //if (a != null) //{ //DebugWalkGraphForErrors(a as NavMeshTileGraphNode); //} //DebugCheckNode(a); //DebugCheckNode(b); }