public void InstantiateMap() { _map.columnCount = columnCount; _map.rowCount = rowCount; _map.cellWidth = cellWidth; _map.cellHeight = cellHeight; _map.cellHorizontalOffset = cellHorizontalOffset; _map.cellVerticalOffset = cellVerticalOffset; _map.gemAssetCount = gems.Length; _map.Instantiate(); }
public void Setup() { _map = new HexagonMap { columnCount = 10, rowCount = 15, cellWidth = 2.5f, cellHeight = 2.5f, cellHorizontalOffset = 1f, cellVerticalOffset = 1f, gemAssetCount = 5 }; _map.Instantiate(true, 0); }