Table of Contents

DOFillAmount Method

Namespace
DG.Tweening

DOFillAmount(Image, float, float)

public static TweenerCore<float, float, FloatOptions> DOFillAmount(this Image target, float endValue, float duration)

Tweens an Image's fillAmount to the given value. Also stores the image as the tween's target so it can be used for filtered operations

Parameters

target Image
endValue float

The end value to reach (0 to 1)

duration float

The duration of the tween

Returns

TweenerCore<float, float, FloatOptions>