Beispiel #1
0
 public void SetPositionToGrid(GridPos gridPos1)
 {
     transform.position = gridPos.pos;
 }
Beispiel #2
0
 public bool ObjectAtLocation(GridPos pos)
 {
     return(BuiltObjects.Any(t => t.gridPos == pos));
 }
Beispiel #3
0
 public bool IsAtPosition(GridPos other)
 {
     return(IsAtPosition(other.pos.x, other.pos.y, other.pos.z));
 }