Class EnumFlagButtonGroupAttribute
An attribute placed on serialized flags enum properties to draw the enum using a group of buttons instead of the default dropdown.
Inheritance
EnumFlagButtonGroupAttribute
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class EnumFlagButtonGroupAttribute : EnumButtonGroupAttribute
Remarks
This is useful to avoid blocking the main thread while the dropdown popup is active.
Constructors
EnumFlagButtonGroupAttribute(float)
Creates a new EnumButtonGroupAttribute instance.
Declaration
public EnumFlagButtonGroupAttribute(float width)
Parameters
Type | Name | Description |
---|---|---|
float | width | The desired width of the buttons in pixels. |