Legacy Documentation: Version 2018.1 (Go to current version)
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.

Did you find this page useful? Please give it a rating: