public static TweenMove Move(GameObject owner, float duration, bool is_local = false) { var tween = new TweenMove(owner, duration); tween.isLocal = is_local; return(tween); }
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); }
public static TweenMove IsLocal(this TweenMove tween, bool is_local) { tween.isLocal = is_local; return(tween); }