Table of Contents

SetOptions Method

Namespace
DG.Tweening
Assembly
DOTween.dll

SetOptions(TweenerCore<float, float, FloatOptions>, bool)

public static Tweener SetOptions(this TweenerCore<float, float, FloatOptions> t, bool snapping)

Parameters

t TweenerCore<float, float, FloatOptions>
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Vector2, Vector2, VectorOptions>, bool)

public static Tweener SetOptions(this TweenerCore<Vector2, Vector2, VectorOptions> t, bool snapping)

Parameters

t TweenerCore<Vector2, Vector2, VectorOptions>
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Vector2, Vector2, VectorOptions>, AxisConstraint, bool)

public static Tweener SetOptions(this TweenerCore<Vector2, Vector2, VectorOptions> t, AxisConstraint axisConstraint, bool snapping = false)

Parameters

t TweenerCore<Vector2, Vector2, VectorOptions>
axisConstraint AxisConstraint
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Vector3, Vector3, VectorOptions>, bool)

public static Tweener SetOptions(this TweenerCore<Vector3, Vector3, VectorOptions> t, bool snapping)

Parameters

t TweenerCore<Vector3, Vector3, VectorOptions>
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Vector3, Vector3, VectorOptions>, AxisConstraint, bool)

public static Tweener SetOptions(this TweenerCore<Vector3, Vector3, VectorOptions> t, AxisConstraint axisConstraint, bool snapping = false)

Parameters

t TweenerCore<Vector3, Vector3, VectorOptions>
axisConstraint AxisConstraint
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Vector4, Vector4, VectorOptions>, bool)

public static Tweener SetOptions(this TweenerCore<Vector4, Vector4, VectorOptions> t, bool snapping)

Parameters

t TweenerCore<Vector4, Vector4, VectorOptions>
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Vector4, Vector4, VectorOptions>, AxisConstraint, bool)

public static Tweener SetOptions(this TweenerCore<Vector4, Vector4, VectorOptions> t, AxisConstraint axisConstraint, bool snapping = false)

Parameters

t TweenerCore<Vector4, Vector4, VectorOptions>
axisConstraint AxisConstraint
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Quaternion, Vector3, QuaternionOptions>, bool)

public static Tweener SetOptions(this TweenerCore<Quaternion, Vector3, QuaternionOptions> t, bool useShortest360Route = true)

Parameters

t TweenerCore<Quaternion, Vector3, QuaternionOptions>
useShortest360Route bool

Returns

Tweener

SetOptions(TweenerCore<Color, Color, ColorOptions>, bool)

public static Tweener SetOptions(this TweenerCore<Color, Color, ColorOptions> t, bool alphaOnly)

Parameters

t TweenerCore<Color, Color, ColorOptions>
alphaOnly bool

Returns

Tweener

SetOptions(TweenerCore<Rect, Rect, RectOptions>, bool)

public static Tweener SetOptions(this TweenerCore<Rect, Rect, RectOptions> t, bool snapping)

Parameters

t TweenerCore<Rect, Rect, RectOptions>
snapping bool

Returns

Tweener

SetOptions(TweenerCore<string, string, StringOptions>, bool, ScrambleMode, string)

public static Tweener SetOptions(this TweenerCore<string, string, StringOptions> t, bool richTextEnabled, ScrambleMode scrambleMode = ScrambleMode.None, string scrambleChars = null)

Parameters

t TweenerCore<string, string, StringOptions>
richTextEnabled bool
scrambleMode ScrambleMode
scrambleChars string

Returns

Tweener

SetOptions(TweenerCore<Vector3, Vector3[], Vector3ArrayOptions>, bool)

public static Tweener SetOptions(this TweenerCore<Vector3, Vector3[], Vector3ArrayOptions> t, bool snapping)

Parameters

t TweenerCore<Vector3, Vector3[], Vector3ArrayOptions>
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Vector3, Vector3[], Vector3ArrayOptions>, AxisConstraint, bool)

public static Tweener SetOptions(this TweenerCore<Vector3, Vector3[], Vector3ArrayOptions> t, AxisConstraint axisConstraint, bool snapping = false)

Parameters

t TweenerCore<Vector3, Vector3[], Vector3ArrayOptions>
axisConstraint AxisConstraint
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Vector2, Vector2, CircleOptions>, float, bool, bool)

public static Tweener SetOptions(this TweenerCore<Vector2, Vector2, CircleOptions> t, float endValueDegrees, bool relativeCenter = true, bool snapping = false)

Parameters

t TweenerCore<Vector2, Vector2, CircleOptions>
endValueDegrees float
relativeCenter bool
snapping bool

Returns

Tweener

SetOptions(TweenerCore<Vector3, Path, PathOptions>, AxisConstraint, AxisConstraint)

public static TweenerCore<Vector3, Path, PathOptions> SetOptions(this TweenerCore<Vector3, Path, PathOptions> t, AxisConstraint lockPosition, AxisConstraint lockRotation = AxisConstraint.None)

Parameters

t TweenerCore<Vector3, Path, PathOptions>
lockPosition AxisConstraint
lockRotation AxisConstraint

Returns

TweenerCore<Vector3, Path, PathOptions>

SetOptions(TweenerCore<Vector3, Path, PathOptions>, bool, AxisConstraint, AxisConstraint)

public static TweenerCore<Vector3, Path, PathOptions> SetOptions(this TweenerCore<Vector3, Path, PathOptions> t, bool closePath, AxisConstraint lockPosition = AxisConstraint.None, AxisConstraint lockRotation = AxisConstraint.None)

Parameters

t TweenerCore<Vector3, Path, PathOptions>
closePath bool
lockPosition AxisConstraint
lockRotation AxisConstraint

Returns

TweenerCore<Vector3, Path, PathOptions>