public override void Update() { var value = GetValue <Color>(); _textFieldR.SetText(value.R.ToString()); _textFieldG.SetText(value.G.ToString()); }
public override void Update() { var value = GetValue <Vector2>(); _textFieldX.SetText(value.X.ToString(CultureInfo.InvariantCulture)); _textFieldY.SetText(value.Y.ToString(CultureInfo.InvariantCulture)); }
public override void Update() { var value = GetValue <Direction>(); _selectBox.SetSelected(value.ToString()); _textField.SetText(value.Value.ToString(CultureInfo.InvariantCulture)); }
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() { if (_textField != null) { _textField.SetText(GetValue <byte>().ToString()); } if (_slider != null) { _slider.SetValue(GetValue <byte>()); } }
public override void Update() { _textField.SetText(GetValue <string>()); }