How could I know when the current selected value of RadioButtonGroup has changed? Is there an event or something?
RadioButtonGroup.value will give you the index of the Button that was selected.
To be notified when the value changes, you can do something like
myRadioButtonGroup.RegisterValueChangeCallback(
(evt) => {
if(evt.target == myRadioButtonGroup)
Debug.Log("Radio Changed! " + evt.newValue);
});
thanks!