Table of Contents

Class ObjectPickerDrawer

Namespace
Coherence.Editor.Toolkit
Assembly
Coherence.Editor.dll
public class ObjectPickerDrawer : PropertyDrawer
Inheritance
ObjectPickerDrawer
Derived

Constructors

ObjectPickerDrawer()

public ObjectPickerDrawer()

Fields

cachedProperty

protected SerializedProperty cachedProperty

Field Value

SerializedProperty

objs

protected Object[] objs

Field Value

Object[]

path

protected string path

Field Value

string

Properties

DisplayNoneOption

public virtual bool DisplayNoneOption { get; }

Property Value

bool

Methods

CreateAsset()

public Object CreateAsset()

Returns

Object

CreateInstance()

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

UpdateReference(Object)

protected virtual void UpdateReference(Object obj)

Parameters

obj Object