Kerbal Space Program
1.12.4
|
This PropertyAttribute will allow enums to have multiple selectable values. More...
Public Member Functions | |
UI_EnumAttribute (Type objectType, int bitoffset) | |
Add an enum attribute to a field. More... | |
Public Attributes | |
readonly int | bitoffset |
readonly Type | objectType |
This PropertyAttribute will allow enums to have multiple selectable values.
|
inline |
Add an enum attribute to a field.
objectType | The type of the Enum |
bitoffset | The bit offset between the value of the Enum and the inspector value |
readonly int UI_EnumAttribute.bitoffset |
readonly Type UI_EnumAttribute.objectType |