Method CrossFadeColor
CrossFadeColor(Color, float, bool, bool)
Tweens the CanvasRenderer color associated with this Graphic.
Declaration
public override void CrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha)
Parameters
Type | Name | Description |
---|---|---|
Color | targetColor | Target color. |
float | duration | Tween duration. |
bool | ignoreTimeScale | Should ignore Time.scale? |
bool | useAlpha | Should also Tween the alpha channel? |