 | InspectorEnumAttribute Constructor (String, Type) |
Note: This API is now obsolete.
Exposes the property to the inspector.
Namespace: Slash.ECS.Inspector.AttributesAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntax[ObsoleteAttribute("Enum type doesn't have to be specified anymore as the property type is available to all inspector properties now. So use the normal constructor and set the Default value manually.")]
public InspectorEnumAttribute(
string name,
Type enumType
)
<ObsoleteAttribute("Enum type doesn't have to be specified anymore as the property type is available to all inspector properties now. So use the normal constructor and set the Default value manually.")>
Public Sub New (
name As String,
enumType As Type
)
public:
[ObsoleteAttribute(L"Enum type doesn't have to be specified anymore as the property type is available to all inspector properties now. So use the normal constructor and set the Default value manually.")]
InspectorEnumAttribute(
String^ name,
Type^ enumType
)
[<ObsoleteAttribute("Enum type doesn't have to be specified anymore as the property type is available to all inspector properties now. So use the normal constructor and set the Default value manually.")>]
new :
name : string *
enumType : Type -> InspectorEnumAttribute
Parameters
- name
- Type: SystemString
Property name to be shown in the inspector. - enumType
- Type: SystemType
Type of the enum this attribute is attached to.
See Also