SpriteFactory.Sprite.sortingLayerID
Property: Read/Write
C#: int sortingLayerID
JS: sortingLayerID : int
Unity Version Required: 4.3+
Description
The ID of the sorting layer this Sprite will be drawn on. This can be used to manually depth sort Sprites. You can edit sorting layers from the menu Project Settings -> Tags and Layers.
See Also
sortingLayerName
sortingOrder