1
NGUI 3 Documentation / Re: Tweens
« on: November 28, 2014, 07:48:02 PM »
Ran into an issue trying to re-play a tween with code, I was trying to replay the tween with...
This worked, but only if I set ignoreTimeScale off for some reason. Otherwise the tween would complete instantly.
From looking at UIPlayTween the following is correct. (And indeed works fine)
Thought I'd point this out as it didn't seem obvious to me.
- tween.ResetToBeginning();
- tween.PlayForward();
From looking at UIPlayTween the following is correct. (And indeed works fine)
- tween.PlayForward();
- tween.ResetToBeginning();
