DOTweenModuleSprite Class
public static class DOTweenModuleSprite
- Inheritance
-
DOTweenModuleSprite
Methods
- DOBlendableColor(SpriteRenderer, Color, float)
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
- DOColor(SpriteRenderer, Color, float)
Tweens a SpriteRenderer's color to the given value. Also stores the spriteRenderer as the tween's target so it can be used for filtered operations
- DOFade(SpriteRenderer, float, float)
Tweens a Material's alpha color to the given value. Also stores the spriteRenderer as the tween's target so it can be used for filtered operations
- DOGradientColor(SpriteRenderer, Gradient, float)
Tweens a SpriteRenderer's color using the given gradient (NOTE 1: only uses the colors of the gradient, not the alphas - NOTE 2: creates a Sequence, not a Tweener). Also stores the image as the tween's target so it can be used for filtered operations