@raaan127 You need to add a SortingGroup
component at the SkeletonRenderer
's GameObject. Unfortunately the MeshRenderer
API does not allow to customize the sorting point from center to pivot, therefore this additional component is required.
You can find older forum threads about this topic here:
https://esotericsoftware.com/forum/d/10783-sprite-sort-point-for-spine/4
https://esotericsoftware.com/forum/d/13990-modify-skel-parts-renderer-to-sort-using-a-quotsorting-groupquot