public override void Disable() { settingsButton.OnButtonDown -= SettingsButton_OnButtonDown; toggleButton.OnButtonDown -= ToggleButtonHandler; positionButton.OnButtonDown -= PositionButton_OnButtonDown; positionButton.OnButtonUp -= PositionButton_OnButtonUp; if (activeColorPicker != null && ToolController.Instance.SelectedTool != this) { activeColorPicker.Close(); } base.Disable(); }