Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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));
        }
Exemplo n.º 3
0
        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));
        }
Exemplo n.º 4
0
 public static IObservable <float> Play(this float source, float to, ITween tween)
 {
     return(Tweener.Play(source, to, tween));
 }
Exemplo n.º 5
0
 public static IObservable <float> Play(this float source, float to, ITween tween, IScheduler scheduler)
 {
     return(Tweener.Play(source, to, tween, scheduler));
 }
Exemplo n.º 6
0
 public static IObservable <Vector2> Play(this Vector2 source, Vector2 to, ITween tween, IScheduler scheduler)
 {
     return(Tweener.Play(source, to, tween, scheduler));
 }
Exemplo n.º 7
0
 public static IObservable <Vector2> Play(this Vector2 source, Vector2 to, ITween tween)
 {
     return(Tweener.Play(source, to, tween));
 }