unity-platformer
unity-platformer copied to clipboard
CharacterDepthHandler
Class for handling how to react to depth (z) changes.
There are three things to do:
- Change sortingOrder
- Change sortingLayerID
- Change transform.scale (X/Y)
Class should affect a transform node, for simplicity may require CharacterAnimator