private StartColorTween ( System.Color targetColor, bool instant ) : void | ||
targetColor | System.Color | |
instant | bool | |
return | void |
private void StartColorTween(Color targetColor, bool instant)
{
if (this.m_TargetGraphic != null)
{
this.m_TargetGraphic.CrossFadeColor(targetColor, !instant ? this.m_Colors.fadeDuration : 0f, true, true);
}
}