This method is executed when the runtime user changes the value of the UI element. This method should change the field on the actual target respectively.
Implements AVR.UI.Link.AVRUI_Link.
Definition at line 39 of file AVRUI_Link_Slider.cs.
42 float val = input.value;
48 case MemberType.FIELD:
51 System.Convert.ChangeType(val, target.GetType().GetField(
field).FieldType)
55 case MemberType.PROPERTY:
57 target.GetType().GetProperty(
field).SetValue(
target,
58 System.Convert.ChangeType(val, target.GetType().GetProperty(
field).PropertyType)
64 catch(System.Exception) {
65 AVR_DevConsole.cwarn(
"Could not update the given target value to "+val,
this);