Today I defined my most complex UI, and when I clicked on Stats I saw 14 draw calls. I've opened up the Draw Call Tool window, and I can see the draw calls are just alternating between the NGUI Atlas material and the NGUI Font material. Is this because I have Sprites and Label's intertwined in my UI?
Just for more understanding:
- I remember in a video tutorial something being said about draw order. Is it really bad to have 2 widgets using the same draw order? My "Panel" is full screen, and have a bunch of sprites that represent sub-panels, I call them windows. For each window I just define their draw order from back to front, starting at 0. So each window will have sprites and label's that share draw orders with other windows. Will this add draw calls?
- If instead I just uniquely set each draw order from 0 to 57, for example, would this be a better for ngui to draw?