public override void Update() { var value = GetValue <System.Numerics.Vector2>(); _textFieldX.SetText(value.X.ToString(CultureInfo.InvariantCulture)); _textFieldY.SetText(value.Y.ToString(CultureInfo.InvariantCulture)); }
public override void Update() { var value = GetValue <Color>(); _textFieldR.SetText(value.R.ToString()); _textFieldG.SetText(value.G.ToString()); }
public override void Update() { if (_textField != null) { _textField.SetText(GetValue <int>().ToString()); } if (_slider != null) { _slider.SetValue(GetValue <int>()); } }
public override void Update() { if (_textField != null) { _textField.SetText(GetValue <float>().ToString(CultureInfo.InvariantCulture)); } if (_slider != null) { _slider.SetValue(GetValue <float>()); } }
public override void Update() { _textField.SetText(GetValue <string>()); }