public static IObservable <float> Play(this float source, float[] path, ITween tween, IScheduler scheduler) { var merged = new float[path.Length + 1]; merged[0] = source; Array.Copy(path, 0, merged, 1, path.Length); return(Tweener.Play(merged, tween, scheduler)); }
public static IObservable <Vector2> Play(this Vector2 source, Vector2[] path, ITween tween, IScheduler scheduler) { var merged = new Vector2[path.Length + 1]; merged[0] = source; Array.Copy(path, 0, merged, 1, path.Length); return(Tweener.Play(merged, tween, scheduler)); }
public static IObservable <Vector3> Play(this Vector3 source, Vector3[] path, ITween tween) { var merged = new Vector3[path.Length + 1]; merged[0] = source; Array.Copy(path, 0, merged, 1, path.Length); return(Tweener.Play(merged, tween)); }
public static IObservable <float> Play(this float source, float to, ITween tween) { return(Tweener.Play(source, to, tween)); }
public static IObservable <float> Play(this float source, float to, ITween tween, IScheduler scheduler) { return(Tweener.Play(source, to, tween, scheduler)); }
public static IObservable <Vector2> Play(this Vector2 source, Vector2 to, ITween tween, IScheduler scheduler) { return(Tweener.Play(source, to, tween, scheduler)); }
public static IObservable <Vector2> Play(this Vector2 source, Vector2 to, ITween tween) { return(Tweener.Play(source, to, tween)); }