Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RadioButton

A control that allows users to select a single option inside a RadioButtonGroup. For more information, refer to UXML element RadioButton.
Read time 7 minutesLast updated 2 days ago

Definition

public class RadioButton : BaseBoolField, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<bool>, IMixedValueSupport

Static Fields

Value

Description

checkmarkBackgroundUssClassNameUSS class name of checkmark background in RadioButton elements.
checkmarkUssClassNameUSS class name of checkmark in RadioButton elements.
inputUssClassNameUSS class name of input elements in RadioButton elements.
labelUssClassNameUSS class name for Labels in RadioButton elements.
textUssClassNameUSS class name of Text elements in RadioButton elements.
ussClassNameUSS class name for RadioButton elements.

Constructors

Constructor

Description

RadioButton()Creates a RadioButton with no label.
RadioButton(System.String)Creates a RadioButton with a Label and a default manipulator.

Inheritance

Inherited Members