Author Topic: Menu parts randomly showing or not showing. (Show stopper for my project)...  (Read 2136 times)

tectuma

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
I tried to think of the best way to explain what my NGUI is doing, so I took a bunch of screen shots and made a web page.

http://tectuma.com/error/

The just of it is that in the editor everything looks fine, but in the web build it is just fubard... A point in the right direction, O I have seen this and this is what would cause it, would be a huge help!!!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
In NGUI 3, the draw order is always based on depth by default. All widgets are first sorted by panel depth, then by widget depth.

If widget depths are the same, what will be on top of what will not be certain.

If the panel depth is the same, it's the same thing -- draw order will not be clear.

All this is assuming that your panels are set to "Automatic" Render Q mode. If it's something else, then the draw order may be based on transform's Z position (distance to the camera), or a combination of the two methods. Leave it on Automatic for best results.