public CrossFadeColor ( System.Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha ) : void | ||
targetColor | System.Color | |
duration | float | |
ignoreTimeScale | bool | |
useAlpha | bool | |
return | void |
public void CrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha)
{
this.CrossFadeColor(targetColor, duration, ignoreTimeScale, useAlpha, true);
}
Graphic::CrossFadeColor ( System.Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha, bool useRGB ) : void |
void StartColorTween(Color targetColor, bool instant) { if (m_TargetGraphic == null) return; m_TargetGraphic.CrossFadeColor(targetColor, instant ? 0f : m_Colors.fadeDuration, true, true); }