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