When reusing a tweener and switching between a zero and non-zero duration, mDuration doesn't update correctly, causing mAmountPerDelta to lock at 1000.
For example:
TweenScale.Begin - duration = 1, mDuration = 1, amtPerDelta = 1 - OK TweenScale.Begin - duration = 0, mDuration = 1, amtPerDelta = 1000 - mDuration should've changed to 0, this will become a problem on the next run TweenScale.Begin - duration = 1, mDuration = 1, amtPerDelta = 1000 - amtPerDelta isn't updated since duration == mDuration, subsequent transitions occur instantaneously
Let me know if this isn't clear, thanks!
Title: Re: UITweener bug
Post by: ArenMook on August 30, 2016, 09:39:25 PM
UITweener.Begin -- just add mDuration and mAmountPerDelta setting directly: