Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Alessaint on May 21, 2012, 02:42:39 AM

Title: Stopping TweenColor
Post by: Alessaint on May 21, 2012, 02:42:39 AM
Hi, I was wondering if there was a way of stopping the TweenColor after it begins.

( I have system message label that I show and after some time tween to Color.clear. If a new message arrives before this is done I want the label to stop fading, be fully visible and then fade it out again)

Thanks
Title: Re: Stopping TweenColor
Post by: Alessaint on May 21, 2012, 04:24:09 AM
I've tried using UITweener::Reset() but it (as the name suggests) just resets the color tween to it's original values but the tweening toward the target color continues...
Title: Re: Stopping TweenColor
Post by: ArenMook on May 21, 2012, 07:22:00 AM
Just disable the tween component.