The TiledMap asset is a data format exported by Tiled Editor.
|v3.0 and above
|v2.2 and above
|v2.1 and below
Importing Map Assets
The assets required for using a map are:
.tsxtileset data configuration file (required for some tmx files)
Create TiledMap Assets
Drag the map asset from the Assets panel into the
Tmx file property of the created TiledMap component.
Storage in the Project
For efficient asset management, it is recommended to store the imported
.png files in a separate directory and not mixed with other assets. Note that it is important to manage the
tmx file and the
tsx file in the same directory, otherwise the assets may not be loaded correctly.