DOBlendableColor Method
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
targetGraphicendValueColorThe value to tween to
durationfloatThe 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
targetImageendValueColorThe value to tween to
durationfloatThe 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
targetTextendValueColorThe value to tween to
durationfloatThe duration of the tween
Returns
- Tweener