Hi.
I have a canvas set up with a couple of children:
- An image for the static background of my scene/level.
- A panel which houses a drop down menu, (containing a grid of inventory objects).
The background panel should be on the “background” sorting layer and appear behind everything in the scene. Meanwhile the inventory panel should be on the “UI” layerwhich is at the absolute front and always is rendered over everything else.
Although I can set the sorting layer for the whole canvas it doesn’t seem possible to set the sorting layer of each element individually.
Is there a way to achieve this, should I use 2 canvases, or is there a third, alternative option?
N.B. I know it’s possible to have 2 canvases. My question is about the most elegent solution, not how to hack it together.
Thanks
Dan
Thanks, am going with this now - I wonder, does it have downsides?
– MortieJust wanted to say thanks this is an easy solution and will save me some frustration in the future!
– MownThis is great, thanks!
– CraftyThank You!
– MoureauxWow, thanks, you saved me a lot of time!
– Dearman