Ejemplo n.º 1
0
 public static Tween TweenLeft(this RectOffset offset, int to, float duration) =>
 Tweening.To(getter: () => offset.left,
             setter: left => offset.left = left,
             to, duration).SetId(offset.GetHashCode());
Ejemplo n.º 2
0
 public static Tween TweenTop(this RectOffset offset, int to, float duration) =>
 Tweening.To(getter: () => offset.top,
             setter: top => offset.top = top,
             to, duration).SetId(offset.GetHashCode());
Ejemplo n.º 3
0
 public static Tween TweenBottom(this RectOffset offset, int to, float duration) =>
 Tweening.To(getter: () => offset.bottom,
             setter: bottom => offset.bottom = bottom,
             to, duration).SetId(offset.GetHashCode());
Ejemplo n.º 4
0
 public static Tween TweenRight(this RectOffset offset, int to, float duration) =>
 Tweening.To(getter: () => offset.right,
             setter: right => offset.right = right,
             to, duration).SetId(offset.GetHashCode());