LeopotamGroup.Gui.Common.GuiEventReceiver.OnDisable C# (CSharp) Method

OnDisable() protected method

protected OnDisable ( ) : void
return void
        protected virtual void OnDisable()
        {
            if (GuiSystem.IsInstanceCreated ()) {
                GuiSystem.Instance.RemoveEventReceiver (this);
            }
            _visualPanel = null;
        }