Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: mishaps on June 21, 2014, 12:36:13 AM
-
TweenPosition.Begin (...) animates flat without ease-in/ease-out. Why is it so useless? Do ppl just use iTween or something? It seems to have HEAPS of easing options.
-
update: The tween component's anim-curve resets to default every time I call it to play... I found I can add a curve variable to my script and override the tween's anim-curve each time I play. :o
public AnimationCurve myCurve;
TweenPosition.Begin (gameObject, time, targetPos);
GetComponent<TweenPosition>().animationCurve = myCurve;
-
Every time you call TweenXXX.Begin, it resets everything -- intentionally so.
If you want it to keep something, GetComponent<TweenXXX>().PlayForward() instead.