Class ObjectPickerDrawer
- Namespace
- Coherence.Editor.Toolkit
- Assembly
- Coherence.Editor.dll
public class ObjectPickerDrawer : PropertyDrawer
- Inheritance
-
ObjectPickerDrawer
- Derived
-
Constructors
public ObjectPickerDrawer()
Fields
protected SerializedProperty cachedProperty
Field Value
- SerializedProperty
Field Value
- Object[]
Field Value
- string
Properties
public virtual bool DisplayNoneOption { get; }
Property Value
- bool
Methods
public Object CreateAsset()
Returns
- Object
protected virtual Object CreateInstance()
Returns
- Object
GetIconContent(SerializedProperty)
protected virtual GUIContent GetIconContent(SerializedProperty property)
Parameters
property
SerializedProperty
Returns
- GUIContent
OnGUI(Rect, SerializedProperty, GUIContent)
public override void OnGUI(Rect rect, SerializedProperty property, GUIContent label)
Parameters
rect
Rect
property
SerializedProperty
label
GUIContent
protected virtual void UpdateReference(Object obj)
Parameters
obj
Object