文档

Unity Engine


User Manual

Script Reference

Unity Engine


fieldInfo

The reflection FieldInfo for the member this property represents. (Read Only)
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public FieldInfo fieldInfo { get; }

Remarks

For advanced uses, this allows you to get information about the member the property represents using reflection, such as the type of the property and which attributes it might have. Most PropertyDrawers will not need to make use of the FieldInfo.