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