Interface ILDtkImportedSortingOrder
Applicable for entity prefabs only.
This passes in an int that represents the sorting order to set.
The sorting order value is automatically determined by the layer generation.
Use this interface for setting a renderer's sorting order if applicable. ex. Renderer, SpriteRenderer, SortingGroup, etc.
Methods
| Improve this Doc View SourceOnLDtkImportSortingOrder(Int32)
Triggers on an all entity components that implements this interface during the import process.
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | sortingOrder | The sorting order at which to set on a renderer. The value is dictated by how many layers were already previously built. |