Exemple #1
0
        public void GenerateTilesAt(int column, int row, int radius)
        {
            hexMap      = GetComponent <HexMap>();
            meshBuilder = new MeshBuilder();

            tilesFolder = ObjectFactory.Folder("Tiles", transform);
            foreach (var pos in HexUtils.ForEachTileWithin(column, row, radius))
            {
                HexTile hexTile = NewHexTile(pos.x, pos.y);
            }
        }