Table of Contents

Class ValueMotionExtensions

public static class ValueMotionExtensions
Inheritance
ValueMotionExtensions
Inherited Members

Methods

Value(Tween, AnimationCurve, Action<float>)

Applies a AnimationCurveValueMotion to the tween.

public static Tween Value(this Tween tween, AnimationCurve animationCurve, Action<float> onUpdated)

Parameters

tween Tween
animationCurve AnimationCurve
onUpdated Action<float>

Returns

Tween

Value(Tween, Color, Color, Action<Color>)

Applies a ColorValueMotion to the tween.

public static Tween Value(this Tween tween, Color from, Color to, Action<Color> onUpdated)

Parameters

tween Tween
from Color
to Color
onUpdated Action<Color>

Returns

Tween

Value(Tween, Color32, Color32, Action<Color32>)

Applies a Color32ValueMotion to the tween.

public static Tween Value(this Tween tween, Color32 from, Color32 to, Action<Color32> onUpdated)

Parameters

tween Tween
from Color32
to Color32
onUpdated Action<Color32>

Returns

Tween

Value(Tween, AnimationCurve2d, Action<Vector2>)

Applies a AnimationCurve2dValueMotion to the tween.

public static Tween Value(this Tween tween, AnimationCurve2d animationCurve, Action<Vector2> onUpdated)

Parameters

tween Tween
animationCurve AnimationCurve2d
onUpdated Action<Vector2>

Returns

Tween

Value(Tween, AnimationCurve3d, Action<Vector3>)

Applies a AnimationCurve3dValueMotion to the tween.

public static Tween Value(this Tween tween, AnimationCurve3d animationCurve, Action<Vector3> onUpdated)

Parameters

tween Tween
animationCurve AnimationCurve3d
onUpdated Action<Vector3>

Returns

Tween

Value(Tween, ICurve, Action<Vector3>)

Applies a CurveValueMotion to the tween.

public static Tween Value(this Tween tween, ICurve curve, Action<Vector3> onUpdated)

Parameters

tween Tween
curve ICurve
onUpdated Action<Vector3>

Returns

Tween

Value(Tween, Quaternion, Quaternion, Action<Quaternion>)

Applies a QuaternionValueMotion to the tween.

public static Tween Value(this Tween tween, Quaternion from, Quaternion to, Action<Quaternion> onUpdated)

Parameters

tween Tween
from Quaternion
to Quaternion
onUpdated Action<Quaternion>

Returns

Tween

Value(Tween, int, int, Action<int>)

Applies an IntValueMotion to the tween.

public static Tween Value(this Tween tween, int from, int to, Action<int> onUpdated)

Parameters

tween Tween
from int
to int
onUpdated Action<int>

Returns

Tween

Value(Tween, float, float, Action<float>)

Applies a FloatValueMotion to the tween.

public static Tween Value(this Tween tween, float from, float to, Action<float> onUpdated)

Parameters

tween Tween
from float
to float
onUpdated Action<float>

Returns

Tween

Value(Tween, Vector2, Vector2, Action<Vector2>)

Applies a Vector2ValueMotion to the tween.

public static Tween Value(this Tween tween, Vector2 from, Vector2 to, Action<Vector2> onUpdated)

Parameters

tween Tween
from Vector2
to Vector2
onUpdated Action<Vector2>

Returns

Tween

Value(Tween, Vector3, Vector3, Action<Vector3>)

Applies a Vector3ValueMotion to the tween.

public static Tween Value(this Tween tween, Vector3 from, Vector3 to, Action<Vector3> onUpdated)

Parameters

tween Tween
from Vector3
to Vector3
onUpdated Action<Vector3>

Returns

Tween

Value(Tween, Vector4, Vector4, Action<Vector4>)

Applies a Vector4ValueMotion to the tween.

public static Tween Value(this Tween tween, Vector4 from, Vector4 to, Action<Vector4> onUpdated)

Parameters

tween Tween
from Vector4
to Vector4
onUpdated Action<Vector4>

Returns

Tween