Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ixque

Pages: [1]
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.

2
Attach UIDragScrollView to your buttons as well.

Works like a charm! Thank you sir :)

3
NGUI 3 Support / ScrollView not draggable because of items in scrollview
« on: February 14, 2014, 04:54:45 AM »
I currently have a scrollview which consists of some button. The buttons are clickable, but the scrollview is only draggable when not selecting an button. I would like the scrollview to be draggable, even when you select a button.

Is this possible?

Pages: [1]