public void SetSpot(int col, int row, CForestRoomTileType v) { bool b = ValidSpot(col, row); if (!b) { Debug.LogWarningFormat("Check Room mapSize and Shape. col={0} row={1}", col, row); return; } Spots[col, row] = v; }
private void SetTileData(int x, int y, string id, CForestRoomTileType type) { m_roomMap[x, y] = type; }