Table of Contents

DOValue Method

Namespace
DG.Tweening

DOValue(Slider, float, float, bool)

public static TweenerCore<float, float, FloatOptions> DOValue(this Slider target, float endValue, float duration, bool snapping = false)

Tweens a Slider's value to the given value. Also stores the Slider as the tween's target so it can be used for filtered operations

Parameters

target Slider
endValue float

The end value to reach

duration float

The duration of the tween

snapping bool

If TRUE the tween will smoothly snap all values to integers

Returns

TweenerCore<float, float, FloatOptions>