Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: dare on July 15, 2016, 10:29:55 AM

Title: Can nGUI handles hundreds of elements withing 1 call if its on same atlas?
Post by: dare on July 15, 2016, 10:29:55 AM
HI,

     I have long hierarchical & complex UI(Image attached) made up with Unity's UI but it is not giving good result with drawcall. It gives 100+ call even all sprites share 1 atlas. I want to know here that can nGUI manage these kind of scenario with 1 or minimal calls if sharing 1 atlas? or it also has issue like overlaping UI create 1 call each etc.? I want to know these before I buy it.
Title: Re: Can nGUI handles hundreds of elements withing 1 call if its on same atlas?
Post by: ArenMook on July 16, 2016, 12:00:34 AM
Yes. As long as you keep all of those widgets under 1 panel (Unity calls them canvases), you will only get 1 draw call.

The order in which widgets are drawn depends on depth.

Camera depth > Panel depth > Widget depth.