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