Version: 2023.2

描述

Represents an enumeration property.

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.