- Home /
2D bone based prefab render order
Hello, I have problem with bone based rig. I have a prefab with 9 bones and sprites and all their sorting orders are adjusted correctly, everything looks fine. However when I spawn multiple instances of this same prefab I would like them to show completely on top of each other. All the sprites are on same "Enemy" sorting layer.
I tried to make a simplifying picture where the two squares are one prefab gameobject. Both squares are on the same sorting layer with adjusted sorting order. Thank you. :
Answer by titanseer · Feb 13, 2020 at 02:47 AM
May I ask have you figured it out yet? I'm having the same problem
Answer by tang64gaming · Nov 04, 2020 at 06:18 PM
Hello @Ihmeukko, I just see your post and I was facing on same problem. If you are still searching:
In sprite Editor go to "Skinning Editor", next on "Edit Bone" tab and toggle "Visibility" with the eye icon.
It will open a window were you will be able to change the "Depth" of each bones, It work exactly like the "sorting layers".
Hope It will help, I didn't see any post resolve it.
Your answer
![](https://koobas.hobune.stream/wayback/20220612214411im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
how to change the render sequence in 2D game ? 2 Answers
Skeletal 2D Animation does not work 1 Answer
Anti aliasing with sprites 0 Answers