public static TweenHandle Start(IEnumerator _routine, Action onStop = null) { TweenHandle coroutine = new TweenHandle(_routine); coroutine.OnStop = onStop; coroutine.Start(); return(coroutine); }
public static TweenHandle Tween(Action <float> evaluate, float time, EditorTweenCurve.BuiltinCurve curve) { return(TweenHandle.Start(StartTween(evaluate, EditorTweenCurve.Get(curve), time))); }