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

Pages: [1]
1
Hi,

I'm wondering if "UIScrollView.isDragging" is working when Smooth Drag Start is off.

I think it's not, because

  1. mDragStarted = true;

is inside

  1. smoothDragStart && !mDragStarted

2
NGUI 3 Documentation / Re: UIRoot
« on: June 24, 2014, 05:46:17 AM »
Ok, thank you Aren.

3
NGUI 3 Support / Re: UIScrollView
« on: June 24, 2014, 05:44:19 AM »
ummm, I can understand but I have to watch the value update by update with your solution,
I think that using an event is more efficient.

Anyway, thank you so much.

4
NGUI 3 Documentation / Re: UIRoot
« on: June 24, 2014, 12:40:22 AM »
I have a hierarchy like the following,

A (UIRoot)
 - B
C (UIRoot)
 - D

When I destroy A, the D is resized (UIWidget size) automatically.
Why does this happen?

I checked anchor target of D, but it suggests that the target is C.

The only way I found to avoid this is separating the two UIRoot placing
on different layers.

5
NGUI 3 Support / Re: UIScrollView
« on: June 23, 2014, 09:22:02 PM »
Aren,

I would like to handle the event that the scroll view starts moving using momentum both by the finger, and by the scroll wheel.

6
NGUI 3 Support / Re: UIScrollView
« on: June 22, 2014, 07:07:35 PM »
Thank you Aren, but I want to handle an event that the user moves finger OFF the screen, not ON.
(Then the scroll view starts momentum movement)

I may be able to handle the event adding OnDragEnd, but there are so many UIDragScrollView,
so I would be happy if I could handle the event on UIScrollView.

7
NGUI 3 Support / Re: UIScrollView
« on: June 21, 2014, 12:48:24 PM »
In addition....

I want to handle event of starting momentum movement (when the user moves its finger off screen)
because onDragFinished event is fired when the movement finishes.
The two are different in case that momentum is enabled.

Thanks again.

8
NGUI 3 Support / UIScrollView
« on: June 21, 2014, 11:22:32 AM »
Hello,

I'm using UIScrollView and have a request.

When I set onDragFinished and set currentMomentum to 0, the event won't be fired.

I think that the setter:
  1. public Vector3 currentMomentum { get { return mMomentum; } set { mMomentum = value; mShouldMove = true; } }
should be modified to fire event if it has.

Thanks.

9
NGUI 3 Support / Re: UIGrid Reposition()
« on: June 16, 2014, 09:42:23 PM »
has anyone solved this problem?

I'm seeing the same... and can't solve.

Pages: [1]