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 - wallabie

Pages: 1 ... 9 10 [11] 12 13 14
151
NGUI 3 Support / Re: ETA on Databinding
« on: March 26, 2014, 04:28:11 AM »
Great,

NData is Ok, but it is less than optimal, in the case of DaikonForge, the databinding doesn't require all of the boiler plate code.

Will the new databinding require boiler plate codes or more like Daikon ?

152
Would this mean that each UITexture is one extra drawcall ?

If I'm using the Infinite Scrollview, then would this mean that only the items that are visible will add to the drawcalls ?

153
NGUI 3 Support / PopupList data structure
« on: March 26, 2014, 12:59:02 AM »
I have a popuplist with a list of colors.
when the user selects a color from the list, I would like to make a sprite in another GO change its color.

Seems that the UIPopupList.current.value is only a string. 

1. How to send a custom data structure instead of a string ?


154
NGUI 3 Support / PopupList onChange firing twice.
« on: March 26, 2014, 12:17:04 AM »
Hi,

I'm doing the following, and it's firing twice for each change:

popupList.onChange.Add(new EventDelegate(OnSelectionChange));

   public void OnSelectionChange()
   {
      Debug.Log("popupList.value="+ popupList.value);
   }

155
NGUI 3 Support / ETA on Databinding
« on: March 25, 2014, 04:48:58 AM »
Is there an ETA on Databinding?

Cheers.

156
NGUI 3 Support / Re: UIToggle component Group variable management.
« on: March 24, 2014, 09:54:07 PM »
I currently have 5 tabs, each tab contains contains multiple scrollviews, each scrollview contains items that contains UIToggles.  More functionality will be added in the future which will require more and more UIToggles and it would be quite a a memory trick to manage all of these groups.

157
Awesome,  this is a much needed functionality that should be included as part of NGUI as an official example..

158
My use case is that i am making an IOS photo gallery with the scrollview component.

The photos are coming from the server, how then to best display these photos within the scrollview? 

159
NGUI 3 Support / UIToggle component Group variable management.
« on: March 24, 2014, 02:07:18 PM »
I am using quite a lot of UIToggle components in my app and running into an issue of managing the Group variable.  For example, I have created groups 1- 10.  When the app is running, other UIToggle comps are dynamically created.  As the app grows, it's  a bit too much to have to keep track of which group number belongs to which UIToggle comp.

Would be great if there were an option in the UIToggle comp to specify the parent GO that this UIToggle comp belongs to.  This way, I can create a dummy GO to hold all of the children UIToggle comps and do not have to worry about the group number.   

Having to specify a group number is like a global variable which we have to manage.  Using the parent-child relationship creates automatic containment and therefore no need to worry about which numbers to assign.

160
NGUI 3 Support / Re: Scrollview with clickable buttons not scrolling.
« on: March 24, 2014, 06:06:34 AM »
Found the answer:

Had to add "UIDragScrollView" component to the scrollview items.

161
NGUI 3 Support / Re: swipe + tap question
« on: March 24, 2014, 05:24:40 AM »
Basic IOS behaviour with the scrollview component is what I also need.

I think that the scrollview needs to know how to handle Drag/swipe gestures vs tap.  It should be something that's built-in to the scrollview.  Perhaps it's there but I cannot find it.


162
NGUI 3 Support / Re: NGUI Timeline scrollview memory management
« on: March 24, 2014, 02:43:36 AM »
Really, it is that easy?

Just add 300 and the component will take care of the rest.
This is Great.

"Alternatively override the virtual function at the end of the script. It gets called whenever an item gets repositioned, letting you change its data if you like."
Be great if you can make a small example to show this use case.

Cheers.

163
NGUI 3 Support / Scrollview with clickable buttons not scrolling.
« on: March 24, 2014, 02:19:58 AM »
On IOS I'm trying to duplicate a basic horizontal scrollview for photos viewing.

1. I have a horizontal scrollview
2. inner items are icons of photos that the user can click to select (implemented as image buttons)
3. Buttons work as expected when interacting.
4. Not able to scroll the scrollview when swiping.
5. When not using buttons, and only image sprites, then scrolling works.
6. It seems that the scrollview component is not able to differentiate between a touch/drag or swipe as opposed to touch to select.

Video link:   https://dl.dropboxusercontent.com/u/48378123/NguiNotScroll.mp4

164
Is there a way to do this in a performant way on Mobile with NGUI?

165
NGUI 3 Support / Re: NGUI Timeline scrollview memory management
« on: March 23, 2014, 06:18:17 AM »
Great, thanks for the new example.

I had a look at the code for the example and still trying to figure out how to do the following:

1. I have a list of 300 photos that I would like to display using the new infinite scroller.
2. Using the example infinite scroller which has 9 recycling items.
3. How to feed the 300 photos into the infinite scroller?
4. This is quite a common use case and 2DTK has a built-in scroller that does this. 

Can you add this example so we can see how it's done.

Cheers.

Pages: 1 ... 9 10 [11] 12 13 14