Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Jezzah on August 28, 2013, 10:27:49 AM

Title: Daisychain tween animations together?
Post by: Jezzah on August 28, 2013, 10:27:49 AM
Hi ,

I am quite new to NGUI, I have had a look at the examples and read the docs, but I'm having trouble working out how to chain tweens together in ngui.

I would like to press a button and have a panel scale from 40 pixels square upto screen width and then when the horizontal scale is finished I would like to scale the panel vertically to screen height.

Then when I press the button again to close the panel I would like the sequence of tweens to play in reverse.

Please can you tell me if this is easily achievable using the default ngui behaviour or will I need to write custom scripts.


Thank you

Jeremy
Title: Re: Daisychain tween animations together?
Post by: Nicki on August 28, 2013, 12:52:01 PM
You should make a custom manager script, but that script can use the default tweens to do the animation.