DOMinSize Method
DOMinSize(LayoutElement, Vector2, float, bool)
public static TweenerCore<Vector2, Vector2, VectorOptions> DOMinSize(this LayoutElement target, Vector2 endValue, float duration, bool snapping = false)
Tweens an LayoutElement's minWidth/Height to the given value. Also stores the LayoutElement as the tween's target so it can be used for filtered operations
Parameters
targetLayoutElementendValueVector2The end value to reach
durationfloatThe duration of the tween
snappingboolIf TRUE the tween will smoothly snap all values to integers
Returns
- TweenerCore<Vector2, Vector2, VectorOptions>