Example #1
0
        public static TweenMove Move(GameObject owner, float duration, bool is_local = false)
        {
            var tween = new TweenMove(owner, duration);

            tween.isLocal = is_local;
            return(tween);
        }
Example #2
0
        public static TweenMove MoveAdd(GameObject owner, Vector3 delta, float duration, bool is_local = false)
        {
            var tween = new TweenMove(owner, duration);

            tween.To      = tween.GetValue() + delta;
            tween.isLocal = is_local;
            return(tween);
        }
Example #3
0
 public static TweenMove IsLocal(this TweenMove tween, bool is_local)
 {
     tween.isLocal = is_local;
     return(tween);
 }