Sprite Factory

ReadMe
Release Notes
Overview
Using the Editor
Upgrading

Concepts
Sprites
Master Sprites
Sprite Groups
Colliders
Locators
Material Sets
SpriteUpdater
SpriteCamera

Advanced
Working in Multiple Projects

Classes
Runtime Classes

Videos
Overview
Creating Sprites
Sprite Inspector
Frame Events
Collision System
Locator System
Material Sets

Links
Sprite Factory Site
Web Documentation
Support
Contact

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