Class RadioButton.UxmlTraits
Defines RadioButton.UxmlTraits for the RadioButton.
Inheritance
RadioButton.UxmlTraits
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class UxmlTraits : BaseFieldTraits<bool, UxmlBoolAttributeDescription>
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initializes RadioButton properties using values from the attribute bag.
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | The object to initialize. |
IUxmlAttributes | bag | The attribute bag. |
CreationContext | cc | The creation context; unused. |
Overrides
UnityEngine.UIElements.BaseFieldTraits<System.Boolean, UnityEngine.UIElements.UxmlBoolAttributeDescription>.Init(UnityEngine.UIElements.VisualElement, UnityEngine.UIElements.IUxmlAttributes, UnityEngine.UIElements.CreationContext)