TmxExtensions Module
Type extensions
Type extension | Description |
|
Get the associated image asset for the given TmxTileset in the specified package. If the TmxTileset object has a custom property named "Image" with an asset value like "[PackageName AssetName]", it will be parsed to retrieve the image asset. If the custom property is missing, the image asset will be inferred from the tile set's image source filename. Throws a TileSetPropertyNotFoundException if the custom property "Image" is missing and the tile set's image source filename cannot be inferred. Thread-safe.
Extended Type:
|
Full Usage:
this.GetImageAssets
Parameters:
string
Returns: (TmxTileset * Image AssetTag) array
|