Example #1
0
 public static Tweener <Vector3, Transform> tweenPositionRelative(
     this Tweener <Vector3, Transform> t, Vector3 to, Ease ease, float duration
     ) => t.t.tweenPosition(t.tween.end, t.tween.end + to, ease, duration);
Example #2
0
 public static Tweener <Vector2, RectTransform> tweenAnchoredPositionRelative(
     this Tweener <Vector2, RectTransform> t, Vector2 to, Ease ease, float duration
     ) => t.t.tweenAnchoredPosition(t.tween.end, t.tween.end + to, ease, duration);