// apply checked flags from UI to prefab protected void SetValue(int value) { if (GetHandler() != value) { SetHandler(value); EventPropertyChanged?.Invoke(); } }
public void OnPropertyChanged() { try { LogCalled(); EventPropertyChanged?.Invoke(); } catch (Exception ex) { ex.Log(); } }
private void TextSubmitted(UIComponent component, string value) { if (LowerField.TryGetValue(out float lower) && UpperField.TryGetValue(out float upper)) { if (upper == 0) { Range = null; } else { Range = new NetInfoExtionsion.Range { Lower = lower, Upper = upper, }; } } EventPropertyChanged?.Invoke(); }