The Label
property of the ToggleGroupAttribute
class is a string
that specifies the label for the toggle group. This label is used to identify the group in the user interface, allowing users to understand what the toggle group represents.
The Label
property of the ToggleGroupAttribute
class is a string
that specifies the label for the toggle group. This label is used to identify the group in the user interface, allowing users to understand what the toggle group represents.
To use the Label
property, you need to set it when applying the ToggleGroupAttribute
to a class or property. This will define the label that appears in the UI for the toggle group.
[ToggleGroup("MyToggleGroup", Label = "Enable Features")] public bool MyFeatureToggle;