Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: juggernate on August 14, 2013, 04:24:44 PM

Title: UITweener Update issue in 2.6.4
Post by: juggernate on August 14, 2013, 04:24:44 PM
I am setting my tweenRotation.from dynamically when an event fires, then playing the tween. This worked in 2.6.3.

After updating to 2.6.4 I have to comment out the new Update() call on line 300 of UITweener.cs for it to work. Otherwise the tween goes immediately to the tweenRotation.to (or I'm doing something that I shouldn't have done before but worked) I don't actually see the tween check mark activate, but it does get to the end result.
Title: Re: UITweener Update issue in 2.6.4
Post by: ArenMook on August 15, 2013, 07:15:35 AM
TweenRotation.Begin() sets the 'from' for you, so not sure why you are changing it.

If you want to set it to something else, then change the rotation of the object before activating the tween. Don't touch 'from' yourself.