Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


fieldInfo

The reflection FieldInfo for the member this property represents. (Read Only)
Read time 1 minuteLast updated 10 days ago

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.