Assets/Scripts/GenerateTileMap.cs
File was renamed from Assets/GenerateTileMap.cs @@ -14,7 +14,8 @@ private float offsetX; private float offsetY; Tilemap tilemap; public RuleTile ruleTile; public RuleTile forestRuleTile; public TileBase borderTile; //public List<TileBase> tiles; private void Awake() @@ -70,7 +71,7 @@ { if (!destroyedTiles.Contains(new Vector3Int(x, y, 0))) { tilemap.SetTile(new Vector3Int(x, y), ruleTile); tilemap.SetTile(new Vector3Int(x, y), forestRuleTile); } }