UnityEngine.EventSystems.EventSystem.OnDisable C# (CSharp) Method

OnDisable() protected method

protected OnDisable ( ) : void
return void
        protected override void OnDisable()
        {
            if (this.m_CurrentInputModule != null)
            {
                this.m_CurrentInputModule.DeactivateModule();
                this.m_CurrentInputModule = null;
            }
            if (current == this)
            {
                current = null;
            }
            base.OnDisable();
        }