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