1
NGUI 3 Support / UIPanel for every view or just one big?
« on: April 08, 2014, 04:10:54 AM »
I'm having trouble understanding the concept of UIPanel and the impact they have on performance. Currently i'm developing an UI heavy mobile app and i have like 20 different views. One view can be active at a time and you can switch to other views via fancy transistions. My views consist of simple (static) sprites, but also scrollviews with UIGrid's which have lots of items.
I've seen http://www.tasharen.com/forum/index.php?topic=5787.0 this thread, which tells me about UIPanels and on splitting static content from dynamic moving content, but i'm confused as if the scrollviews in my views are also considered to be dynamic moving content. Also, i use some fancy transistions to change views, like pushing the view on top of the other by tweening the position of the view's gameObject.
Instead of having 1 UIPanel containing all views, would it be faster to have different UIPanel for every view? Because only 2 views can be active it would only increase the drawcall count by 1.
I've seen http://www.tasharen.com/forum/index.php?topic=5787.0 this thread, which tells me about UIPanels and on splitting static content from dynamic moving content, but i'm confused as if the scrollviews in my views are also considered to be dynamic moving content. Also, i use some fancy transistions to change views, like pushing the view on top of the other by tweening the position of the view's gameObject.
Instead of having 1 UIPanel containing all views, would it be faster to have different UIPanel for every view? Because only 2 views can be active it would only increase the drawcall count by 1.
