public override void Dispose() { Disable(); foreach (var pair in manipulators) { ui.SelectionBar.RemoveChild(pair.Key); pair.Value.Dispose(); } checkBoxes.SelectedChanged -= OnToggled; checkBoxes.Dispose(); manipulator?.Dispose(); }
public override void Dispose() { Disable(); foreach (var pair in manipulators) { ui.SelectionBar.RemoveChild(pair.Key); pair.Value.Dispose(); } checkBoxes.SelectedChanged -= OnToggled; checkBoxes.Dispose(); manipulator?.Dispose(); }