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

Pages: [1] 2
1
that's great, Thanks!

2
Thanks, so is there a way to remove the OnFinished delegate after use (for example from within the delegated method after its called)?

3

I've noticed that when chaining OnFinished event delegates, that eventually loop back and replay. The delegate persist and will be performed at unwanted times or not in the order given.

What is the best way to create a sequence of tweens, that keeps its order?

4
NGUI 3 Support / UIPanel vs UIWidget container
« on: February 13, 2014, 07:59:27 PM »
Just wanted to know the difference and use for both UIPanel and UIWidget container. I understand that a widget is in theory an individual UI element and a panel is a container, and that a UIPanel allows for clipping. But it seems a UIWidget can also be a container, and can in situation be easier to use with regard to hierarchy and alpha.

5
Thanks I just wanted to know if you had any further details, I got it working.

6
Additionally, how would I cast/assign an EventDelegate to the SpringPanel.onFinished delegate? and in general get the callback from the EventDelegate (for passing about)?

7

actually my intention was to call it when it finishes, so I think it'll work out perfectly. Thank you for being so incredibly helpful!  :D

8
is there any particular reason why you would not recommend it? I didn't want run an additional check in Update (instead piggyback on what checks UICenterOnChild is already running) or do something in Update that may be overwritten in a child class.

And just for my own knowledge I'd like to get an idea of how to cast to the delegate 'SpringPanel.OnFinished'. Thank you.

9
Well I just want a method to be called whenever some movement happens. How would I set the UICenterOnChild.onFinished then?

10
any solution?

11
NGUI 3 Support / Assign an EventDelegate to UICenterOnChild.onFinished
« on: January 22, 2014, 02:44:29 PM »

I'd like to assign a method to UICenterOnChild.onFinished, so that a UIScrollView can detect when a change has occurred.
Is there another method that's more appropriate?

12

So do gameobjects that go under the UIScrollView/UIGrid need to have the same name? otherwise it gets sorted by Unity?

13
I noticed that the UIGrid component gets disabled on play, not sure what is causing that and I don't receive any warnings or errors.

14
NGUI 3 Support / Re: Depth value use
« on: January 21, 2014, 01:49:17 AM »
I'll keep that all in mind and continue to have a play at it, thank you.

15
NGUI 3 Support / Re: Alpha not clipping on child
« on: January 21, 2014, 01:47:58 AM »
I'll double check their location tomorrow. Thank you.

Pages: [1] 2