Table of Contents

DOScale Method

Namespace
DG.Tweening

DOScale(Outline, Vector2, float)

public static TweenerCore<Vector2, Vector2, VectorOptions> DOScale(this UnityEngine.UI.Outline target, Vector2 endValue, float duration)

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

Parameters

target Outline
endValue Vector2

The end value to reach

duration float

The duration of the tween

Returns

TweenerCore<Vector2, Vector2, VectorOptions>