Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Enum

Represents an enumeration property.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Enum = 7

Remarks

SerializedProperty.numericType can be used to determine the type of the constant values of the enum used to access the enum type (typically int). Use SerializedProperty.intValue to access the numeric value, unless the enum type is uint, in which case SerializedProperty.longValue should be used. Additional Resources: SerializedProperty, SerializedProperty.enumNames.