Method is run continously from OnGUI. This method should update the value displayed by the UI when the target value changes.
Implements AVR.UI.Link.AVRUI_Link.
Definition at line 70 of file AVRUI_Link_Toggle.cs.
72 bool current_value =
false;
76 case MemberType.FIELD:
81 case MemberType.PROPERTY:
88 input.isOn = current_value;
91 if (
old_value != current_value.ToString() && !Application.isPlaying)
93 EditorUtility.SetDirty(
input);