DOVerticalNormalizedPos Method
DOVerticalNormalizedPos(ScrollRect, float, float, bool)
public static Tweener DOVerticalNormalizedPos(this ScrollRect target, float endValue, float duration, bool snapping = false)
Tweens a ScrollRect's verticalNormalizedPosition to the given value. Also stores the ScrollRect as the tween's target so it can be used for filtered operations
Parameters
targetScrollRectendValuefloatThe end value to reach
durationfloatThe duration of the tween
snappingboolIf TRUE the tween will smoothly snap all values to integers
Returns
- Tweener