EnumFlagsAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An attribute that allows a particular field to be rendered as multi-selectable set of flags.
public ref class EnumFlagsAttribute sealed : UnityEngine::PropertyAttribute
[System.AttributeUsage(System.AttributeTargets.Field)]
public sealed class EnumFlagsAttribute : UnityEngine.PropertyAttribute
[<System.AttributeUsage(System.AttributeTargets.Field)>]
type EnumFlagsAttribute = class
inherit PropertyAttribute
Public NotInheritable Class EnumFlagsAttribute
Inherits PropertyAttribute
- Inheritance
-
UnityEngine.PropertyAttributeEnumFlagsAttribute
- Attributes
Remarks
From https://answers.unity.com/questions/486694/default-editor-enum-as-flags-.html
Constructors
EnumFlagsAttribute() |