DOBlendableColor Method
DOBlendableColor(SpriteRenderer, Color, float)
public static Tweener DOBlendableColor(this SpriteRenderer target, Color endValue, float duration)
Tweens a SpriteRenderer'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 SpriteRenderer as the tween's target so it can be used for filtered operations
Parameters
targetSpriteRendererendValueColorThe value to tween to
durationfloatThe duration of the tween
Returns
- Tweener