Пример #1
0
            public static TweenHandle Start(IEnumerator _routine, Action onStop = null)
            {
                TweenHandle coroutine = new TweenHandle(_routine);

                coroutine.OnStop = onStop;
                coroutine.Start();
                return(coroutine);
            }
Пример #2
0
 public static TweenHandle Tween(Action <float> evaluate, float time, EditorTweenCurve.BuiltinCurve curve)
 {
     return(TweenHandle.Start(StartTween(evaluate, EditorTweenCurve.Get(curve), time)));
 }