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