Table of Contents

DOBlendableColor Method

Namespace
DG.Tweening

DOBlendableColor(Graphic, Color, float)

public static Tweener DOBlendableColor(this Graphic target, Color endValue, float duration)

Tweens a Graphic's color to the given value, in a way that allows other DOBlendableColor tweens to work together on the same target, instead than fight each other as multiple DOColor would do. Also stores the Graphic as the tween's target so it can be used for filtered operations

Parameters

target Graphic
endValue Color

The value to tween to

duration float

The duration of the tween

Returns

Tweener

DOBlendableColor(Image, Color, float)

public static Tweener DOBlendableColor(this Image target, Color endValue, float duration)

Tweens a Image's color to the given value, in a way that allows other DOBlendableColor tweens to work together on the same target, instead than fight each other as multiple DOColor would do. Also stores the Image as the tween's target so it can be used for filtered operations

Parameters

target Image
endValue Color

The value to tween to

duration float

The duration of the tween

Returns

Tweener

DOBlendableColor(Text, Color, float)

public static Tweener DOBlendableColor(this UnityEngine.UI.Text target, Color endValue, float duration)

Tweens a Text's color BY the given value, in a way that allows other DOBlendableColor tweens to work together on the same target, instead than fight each other as multiple DOColor would do. Also stores the Text as the tween's target so it can be used for filtered operations

Parameters

target Text
endValue Color

The value to tween to

duration float

The duration of the tween

Returns

Tweener