private void OnEnable() { currentCurveSettings = CurrentCurveSettings; currentCurveSettings.RefreshBooleans(); currentCurveSettings.PropertyChanged += CurrentCurveSettings_PropertyChanged; CurveSettingsChangedEvent?.Invoke(); }
private void OnValidate() { Settings.RefreshBooleans(); Settings.NotifyPropertyChanged(); }