Class EnumSwitchAttribute
Inheritance
PropertyAttribute
InspectorNameAttribute
EnumSwitchAttribute
Inherited Members
InspectorNameAttribute.displayName
PropertyAttribute.order
PropertyAttribute.applyToCollection
Assembly: Glitch9.dll
Syntax
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public class EnumSwitchAttribute : InspectorNameAttribute
Constructors
|
Edit this page
View Source
EnumSwitchAttribute(Type, string, bool, int, bool)
Declaration
public EnumSwitchAttribute(Type enumType, string displayName = null, bool isFlag = false, int maxItemsPerRow = 0, bool evenlyDistributed = true)
Parameters
| Type |
Name |
Description |
| Type |
enumType |
|
| string |
displayName |
|
| bool |
isFlag |
|
| int |
maxItemsPerRow |
|
| bool |
evenlyDistributed |
|
Fields
|
Edit this page
View Source
enumType
Declaration
public readonly Type enumType
Field Value
|
Edit this page
View Source
evenlyDistributed
Declaration
public readonly bool evenlyDistributed
Field Value
|
Edit this page
View Source
isFlag
Declaration
public readonly bool isFlag
Field Value
|
Edit this page
View Source
maxItemsPerRow
Declaration
public readonly int maxItemsPerRow
Field Value
|
Edit this page
View Source
rowCount
Declaration
Field Value
Extension Methods