Skip to main content

Label.CrossFadeColor

Declaration#

public virtual void CrossFadeColor(Color color, float duration, bool ignoreTimeScale, bool useAlpha)

Parameters#

NameDescription
colorColor to use
durationDuration of tweening
ignoreTimeScaleIgnore time scale during tweening
useAlphaApply alpha

Description#

Tweens between current and new color

Usage#

Example
using NullSave.GDTK;using UnityEngine;
public class CodeSample : MonoBehaviour{
    public void ExampleMethod(Label target, Color other)    {        target.CrossFadeColor(other, 0.5f, true, true);    }
}