Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: mtran003 on May 04, 2012, 05:09:55 PM
-
So I added the TweenScale component to my label in the editor and it looks great. However, I need to be able to turn it on and off at run time and to only have it PingPong only once. That is to scale up and then back down again and then stop.
I am using Javascript. My searches have not been fruitful.
Any help would be appreciated.
Regards,
Manny
-
Create an animation for that instead of a tween, and you will be able to do whatever you want.
-
Great. Is there a tutorial somewhere on how to add animations to a label?
-
They're just Unity's built-in animations. Open the animation window, select what you want to animate, click the Record button, and move it around.