UnityEngine.UI.Selectable.InstantClearState C# (CSharp) Method

InstantClearState() protected method

protected InstantClearState ( ) : void
return void
        protected virtual void InstantClearState()
        {
            string normalTrigger = this.m_AnimationTriggers.normalTrigger;
            this.isPointerInside = false;
            this.isPointerDown = false;
            this.hasSelection = false;
            switch (this.m_Transition)
            {
                case Transition.ColorTint:
                    this.StartColorTween(Color.white, true);
                    break;

                case Transition.SpriteSwap:
                    this.DoSpriteSwap(null);
                    break;

                case Transition.Animation:
                    this.TriggerAnimation(normalTrigger);
                    break;
            }
        }