Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Dickon on April 25, 2014, 11:23:57 PM

Title: tween position
Post by: Dickon on April 25, 2014, 11:23:57 PM
hi guys

how can i do a tween position in a panel and after some seconds, do the reverse tween ?

i cant add two tween positions in same panel, so i can do a tween cascate, first to one direction and second to reverse direction. :(

Tween has delay time but dont have time after the tween is done.

any help ?

ps : sorry my english skills.
Title: Re: tween position
Post by: ArenMook on April 26, 2014, 03:11:57 PM
Use the On Finished functionality of the tween. You can set it to trigger another tween, or even the same one's PlayReverse() function. If you need a delay, write a custom function that will wait a bit, then play the tween in reverse -- again triggered from On Finished.