ToggleButtonGroupStatePropertiesAttribute
Defines how a serialized ToggleButtonGroupState will be initialized in the inspector.
Read time 3 minutesLast updated 8 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: PropertyAttribute
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]public sealed class ToggleButtonGroupStatePropertiesAttribute : PropertyAttribute
Constructors
Constructor | Description |
|---|---|
| ToggleButtonGroupStatePropertiesAttribute(System.Boolean,System.Boolean,System.Int32) | Defines how the toggle button group will be initialized. |
Properties
Property | Description |
|---|---|
| allowEmptySelection | See ToggleButtonGroup.allowEmptySelection. |
| allowMultipleSelection | See ToggleButtonGroup.isMultipleSelection. |
| length | The initial length of the ToggleButtonGroupState. |