Author Topic: UITweener Update issue in 2.6.4  (Read 3053 times)

juggernate

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 21
    • View Profile
UITweener Update issue in 2.6.4
« 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.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITweener Update issue in 2.6.4
« Reply #1 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.