예제 #1
0
        public override void Update()
        {
            var value = GetValue <System.Numerics.Vector2>();

            _textFieldX.SetText(value.X.ToString(CultureInfo.InvariantCulture));
            _textFieldY.SetText(value.Y.ToString(CultureInfo.InvariantCulture));
        }
예제 #2
0
        public override void Update()
        {
            var value = GetValue <Color>();

            _textFieldR.SetText(value.R.ToString());
            _textFieldG.SetText(value.G.ToString());
        }
예제 #3
0
 public override void Update()
 {
     if (_textField != null)
     {
         _textField.SetText(GetValue <int>().ToString());
     }
     if (_slider != null)
     {
         _slider.SetValue(GetValue <int>());
     }
 }
예제 #4
0
 public override void Update()
 {
     if (_textField != null)
     {
         _textField.SetText(GetValue <float>().ToString(CultureInfo.InvariantCulture));
     }
     if (_slider != null)
     {
         _slider.SetValue(GetValue <float>());
     }
 }
예제 #5
0
 public override void Update()
 {
     _textField.SetText(GetValue <string>());
 }