public void ShowCellBorders(List <Vector3Int> cubeCoordinates) { foreach (var cubeCoordinate in cubeCoordinates) { Board.SetTile(CoordinateUtils.CubeToOffset(cubeCoordinate), _borderHexTile); } }
public Vector3 GetTileCenterPosition(Vector3Int cubeCoordinates) { return(Board.GetCellCenterWorld(CoordinateUtils.CubeToOffset(cubeCoordinates))); }
public void DeselectTile(Vector3Int cubeCoordinates) { _board.SetTile(CoordinateUtils.CubeToOffset(cubeCoordinates), _hexTile); }
private void SetTile(Vector3Int cubeCoordinates, TileBase hexTile) { var offsetCoordinates = CoordinateUtils.CubeToOffset(cubeCoordinates); _board.SetTile(offsetCoordinates, hexTile); }