Hi,
In my game,it always dynamically load a prefab which is a UIPanel and reset panel's depth to suitable value by click event.In some panels contain another UIPanel as child and the child UIPanel must reset depth too, if not the level relationship will be in disorder(the child UIPanel has lower depth than parent's).
Is that any better method to do this?