Edit

Share via


EnumFlagsAttribute Class

Definition

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.PropertyAttribute
EnumFlagsAttribute
Attributes

Remarks

From https://answers.unity.com/questions/486694/default-editor-enum-as-flags-.html

Constructors

EnumFlagsAttribute()

Applies to