UIRadioGroup
Defines a selection group so only one UIRadioButton in the group stays checked.
Create in the Editor
- Ensure there is a
UIControllerin the scene. - Create a GameObject and add
UIRect. - Add the
UIRadioGroupcomponent.
How to Use
- Get the component with
myObject.findComponent(UIRadioGroup.class). - Read and write the component properties to control behavior.
- Test input or layout in Play mode.
Java Example
SpatialObject myObject = /* your object */;
UIRadioGroup comp = myObject.findComponent(UIRadioGroup.class);
if (comp != null) {
}