文档

Unity Engine

Unity Engine

propertyType

Type of this property (Read Only).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public SerializedPropertyType propertyType { get; }

Remarks

Property type determines which of the "value" variable accessors are valid. For example, only SerializedProperty.boolValue is valid for SerializedPropertyType.Boolean