Class LDtkArtifactAssets
Stores the autogenerated sprites for level backgrounds.
Properties
| Improve this Doc View SourceBackgrounds
Type | Description |
---|---|
System.Collections.Generic.List<UnityEngine.Sprite> | Gets all the background sprite assets used. |
Methods
| Improve this Doc View SourceGetBackgroundIndexed(String)
Get a background by name from this import result.
Parameters
Type | Name | Description |
---|---|---|
System.String | levelName | The name of the background asset. |
Returns
Type | Description |
---|---|
UnityEngine.Sprite | The sprite that was generated in this import result. |
HasIndexedBackground(String)
Parameters
Type | Name | Description |
---|---|---|
System.String | assetName |
Returns
Type | Description |
---|---|
System.Boolean |