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

Pages: [1]
1
NGUI 3 Support / Re: UIWrapContent and UICenterOnChild NextPageThreshold
« on: August 01, 2014, 07:26:25 PM »
Upon further investigation step 2 was unnecessary. Sorry about that.

Steps:
1. Open example 14 Endless Scroll View.
2. Attach UICenterOnChild to the same object as UIWrapContent.
3. Set the threshold of UICenterOnChild to non zero. Easiest to see if somewhere between 0.25 and 0.1.
4. Flick the modified scroll view down or up. SOMETIMES it centers the opposite direction expected.

Also strangely if you first REMOVE the UIWrapContent the bug will still appear.

2
NGUI 3 Support / UIWrapContent and UICenterOnChild NextPageThreshold
« on: July 31, 2014, 02:20:10 PM »
I think there's a bug where the NextPageThreshold does not center on the correct child in the example 14 Endless Scroll Views.unity using NGUI 3.6.4b when the user flicks. Only happens sometimes.

Steps:
1. Open example 14 Endless Scroll View.
2. Delete all children except 3 in a scroll view.
3. Attach UICenterOnChild to the same object as UIWrapContent.
4. Set the threshold of UICenterOnChild to non zero. Easiest to see if somewhere between 0.2 and 0.05.
5. Flick the modified scroll view down or up. SOMETIMES it centers the opposite direction expected.

I think a workaround is in UICenterOnChild change OnDragFinished () to invoke Recenter with a delay of 0.0f seconds instead of calling it immediately.

3
NGUI 3 Support / Re: errors....
« on: June 19, 2014, 07:33:15 PM »
I solved this problem by replacing Trigger with AnimationOrTween.Trigger . Kinda hacky.

Pages: [1]