Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.UnitySpriteDepthHandler Class Reference

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...

Inheritance diagram for PlatformerPro.UnitySpriteDepthHandler:

Public Attributes

int multipler
 

Protected Attributes

IMob animatable
 The character reference. More...
 
SpriteRenderer spriteRenderer
 Cached reference to the renderer. More...
 
int offset
 Stores the offset from default layer. More...
 
int currentZLayer
 The current Z layer. More...
 

Detailed Description

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).

Member Data Documentation

◆ animatable

IMob PlatformerPro.UnitySpriteDepthHandler.animatable
protected

The character reference.

◆ currentZLayer

int PlatformerPro.UnitySpriteDepthHandler.currentZLayer
protected

The current Z layer.

◆ 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: