I'm struggling to understand the new depth system, unfortunately the upgrade guide in the release notes does not tell much on the subject. How exactly did it work before? how does it work now? Can someone point me to docs/topic?
We're using little drops on NGUI inside a rather big menu scene (orthographic), with various layers, doors opening (regular meshes), etc.
In 2.7 is was very fine, the GUI was treated like any other mesh, we could just layer it as we pleased. In 3.0, I just want to gouge out my own eyes in frustration. It all seems totally random: sometimes things are on top, sometimes behind, it works once out of two and then not at all...
The scene starts with some doors closed, some GUI behind, when I open the doors the GUI shows up fine (I can tell the depth is OK because the doors overlap progressively during their "appear" anim), then some more text shows up... and when I close the doors ALL the text is now above! what the hell...
Even in edit mode the behavior is un-understandable: I've tried tweaking the depth of each element until they were behind the doors, but then I change another element and boom, all the ones I tweaked before are now in front again... dammit!!!
I honestly don't care at all about draw calls (you should see our setup it's so generous it's ridiculous, it's not the 3 draw calls that NGUI is gonna save me that matter), and all this batching is making it very hard to understand what's going on.