public void MoveBuildingRight() { Vector3 newPos = bh.GetStart() + new Vector3(GridManager.CellSize * Grid.UNITSIZE, 0, 0); if (GridManager.CheckMove(newPos, bh.col, bh.row)) { bh.SetStart(newPos); } }
public void MoveBuildingRight() { Vector3 newPos = bh.GetStart() + new Vector3(GridManager.CellSize * Grid.UNITSIZE, 0, 0); if (GridManager.CheckMove(newPos, bh.col, bh.row)) { bh.SetStart(newPos); } }