Graphic.CrossFadeColor

public void CrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha);

Parameters

targetColorTarget color.
durationTween duration.
ignoreTimeScaleShould ignore Time.scale?
useAlphaShould also Tween the alpha channel?

Description

Tweens the CanvasRenderer color associated with this Graphic.

Did you find this page useful? Please give it a rating: