Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RadioButtonGroup

A control that allows single selection out of a logical group of RadioButton elements. Selecting one will deselect the others. For more information, refer to UXML element RadioButtonGroup.
Read time 9 minutesLast updated 2 days ago

Definition

[UxmlElement(libraryPath = "Controls")][Icon("UIToolkit/Icons/RadioButtonGroup.png")]public class RadioButtonGroup : BaseField<int>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<int>

Static Fields

Value

Description

containerUssClassNameUSS class name of container element of this type.
ussClassNameUSS class name for RadioButtonGroup elements.

Constructors

Constructor

Description

RadioButtonGroup()Initializes and returns an instance of RadioButtonGroup.
RadioButtonGroup(System.String,System.Collections.Generic.List{System.String})Initializes and returns an instance of RadioButtonGroup.

Properties

Property

Description

choicesThe list of available choices in the group.

Inheritance

Inherited Members