1
NGUI 3 Support / render order problems for UI in game world
« on: December 08, 2014, 01:54:50 PM »
I have a UI element that I want rendered on the floor of my game world, where characters can walk on top of it. I've assigned the element its own panel and set it to explicitly render starting at 3000. There are three elements in the panel, two of which render correctly. The third element, a UILabel, always renders on top of everything in the game world. The UILabel has a depth of 2. If I change the depth to 0, the label drops behind the background but now the background and the other element in the panel renders on top of everything in my game world. I've double checked that the render camera is correct. This seems like a bug with the UILabel depth, but I'm not sure how to go about figuring it out. The version of NGUI I'm using is 3.0.8.
