protected override void OnValidate()
{
base.OnValidate();
this.m_Colors.fadeDuration = Mathf.Max(this.m_Colors.fadeDuration, 0f);
if (base.isActiveAndEnabled)
{
this.DoSpriteSwap(null);
this.StartColorTween(Color.white, true);
this.TriggerAnimation(this.m_AnimationTriggers.normalTrigger);
this.InternalEvaluateAndTransitionToSelectionState(true);
}
}