dcronqvist / DotTiled

📚 A .NET library for loading, saving, and handling Tiled maps and tilesets
https://dcronqvist.github.io/DotTiled
MIT License
12 stars 2 forks source link

How to get layer's data? #33

Closed lehoaihung closed 3 weeks ago

lehoaihung commented 3 weeks ago

var loader = Loader.Default( ); var map = loader.LoadMap(./map.tmx); var tileLayer = (TileLayer)map.Layers[0]; I wonder how to get layer's data now? I was read the doc but still can't figure out what to get the value of data tag in the map.tmx.