Question by
Eriic520 · Dec 24, 2021 at 10:47 PM ·
sorting layers
Sorting Layer Overwriting not works
We have a hero character and its weapon menu hung on it. The sorting layer of the char spine animation is "Hero" by default, but it will be overwritten to be "OverUI" when the weapon menu is up. The sorting layer of the weapon menu is always "UI". Their hierarchy and sorting layer order is as:
But when we run the game, the sorting layer rendered correctly in Scene window but incorrectly in Game window.
Any one has the idea and could help on this issue?
Thank you so much if you could help!
Comment
Your answer
