Show / Hide Table of Contents

Class PropertyDrawer

Inheritance
Object
GUIDrawer
PropertyDrawer
UIElementsPropertyDrawer
MinMaxCurvePropertyDrawer
MinMaxGradientPropertyDrawer
UnityEventDrawer
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
public abstract class PropertyDrawer : GUIDrawer

Properties

| Improve this Doc View Source

attribute

Declaration
public PropertyAttribute attribute { get; }
Property Value
Type Description
PropertyAttribute
| Improve this Doc View Source

fieldInfo

Declaration
public FieldInfo fieldInfo { get; }
Property Value
Type Description
FieldInfo

Methods

| Improve this Doc View Source

CanCacheInspectorGUI(SerializedProperty)

Declaration
public virtual bool CanCacheInspectorGUI(SerializedProperty property)
Parameters
Type Name Description
SerializedProperty property
Returns
Type Description
Boolean
| Improve this Doc View Source

GetPropertyHeight(SerializedProperty, GUIContent)

Declaration
public virtual float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Type Name Description
SerializedProperty property
GUIContent label
Returns
Type Description
Single
| Improve this Doc View Source

OnGUI(Rect, SerializedProperty, GUIContent)

Declaration
public virtual void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type Name Description
Rect position
SerializedProperty property
GUIContent label

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX