Example #1
0
 static bool CheckNeighborInvalid()
 {
     return(neighbor.IsNull() || GridClosedSet.Contains(neighbor) || neighbor.Unpassable());
 }
Example #2
0
 static bool CheckInvalid(GridNode gridNode)
 {
     return(gridNode.IsNull() || GridClosedSet.Contains(gridNode) || gridNode.Unpassable());
 }