This version of Unity is unsupported.

Graphic.CrossFadeColor

Declaration

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

Parameters

targetColor Target color.
duration Tween duration.
ignoreTimeScale Should ignore Time.scale?
useAlpha Should also Tween the alpha channel?

Description

Tweens the CanvasRenderer color associated with this Graphic.