Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

PropertyDrawer.fieldInfo

var fieldInfo: FieldInfo;
FieldInfo fieldInfo;
fieldInfo as 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.