Skip to content

Class AudityEnumAttribute

Marks a C# enum as selectable for Enum interface members: the blackboard’s Enum Type dropdown lists tagged enums, and binding one specifies the member’s labels and 0..N-1 range from the type itself.

Constraint: underlying values must be contiguous 0..N-1 - the ordinal IS the wire value, and scripting passes (float)(int)MyEnum.Value. Sparse enums are refused by the editor.

Declaration
[AttributeUsage(AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
public sealed class AudityEnumAttribute : Attribute

Inheritance: System.Object -> System.Attribute