Click or drag to resize
InspectorEnumAttribute Constructor (String, Type)

Note: This API is now obsolete.

Exposes the property to the inspector.

Namespace: Slash.ECS.Inspector.Attributes
Assembly: 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
)

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