Hi!
I have some sprites children to UIWidget. I expected that depth of this widget will have the same effect as UIPanel, but depth of UIWidget doesn't change anything.
To be more exact, I have an inventory with items, each one is a complex hierarchy of sprites and labels, all placed under UIWidget. When I start dragging one of inventory items, it's parts intersect with other's, cuz they have same depth. So before dragging I tried to increment depth of root UIWidget of graggable item, hoping that it will bring it front of other. But it had no effect. So, I had to place a UIPanel on top of each inventory item, and manipulate panel's depth.
So, is it bug or feature, this UIWidget's behaviour?
And what's the best way to solve such problems?
Thanks in advance.