Changes sprite rendering order based on character depth. Usually used for complex platforms that can go in front of and behind eah other (i.e. loops).
More...
Changes sprite rendering order based on character depth. Usually used for complex platforms that can go in front of and behind eah other (i.e. loops).
◆ animatable
IMob PlatformerPro.UnitySpriteDepthHandler.animatable |
|
protected |
◆ currentZLayer
int PlatformerPro.UnitySpriteDepthHandler.currentZLayer |
|
protected |
◆ multipler
int PlatformerPro.UnitySpriteDepthHandler.multipler |
◆ offset
int PlatformerPro.UnitySpriteDepthHandler.offset |
|
protected |
Stores the offset from default layer.
◆ spriteRenderer
SpriteRenderer PlatformerPro.UnitySpriteDepthHandler.spriteRenderer |
|
protected |
Cached reference to the renderer.
The documentation for this class was generated from the following file: