So I've looking at the copenhagen demo it seems you've seperated the UI into different renderers. Are there any performance differences in having everything in one vs many? If so, how would one order the panel renderers so that one is always drawn on top of the other? I've made a debug console which I want it to be shown on top of both game GUI and menu UI, but right now they are in seperate renderers so I don't see where I can decide draw order.
The most efficient way is to keep all UI inside one PanelRenderer. And yes, you can't define which comes first.
You can use BringToFront/SendToBack/PlaceBehind/PlaceInFront on any VisualElement if that helps. It won't help with multiple panel renders.
We will have the order be well-defined and customizable at some point. Yes. For now, the recommendation is to use a single Panel Renderer for all the UI and manage transitions and screens within it.
Always. What I meant was that we will, in the future, do the necessary "merging" of multiple Panel Renderers' panels into one actual Panel under the hood (or whatever else optimization that makes sense) so you don't have to worry as much about using only on Panel Renderer.