Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PropertyDrawer.fieldInfo

public FieldInfo fieldInfo;

Description

The reflection FieldInfo for the member this property represents. (Read Only)

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.