Class ObjectPickerDrawer
public class ObjectPickerDrawer : PropertyDrawer
- Inheritance
-
ObjectPickerDrawer
- Derived
Constructors
ObjectPickerDrawer()
public ObjectPickerDrawer()
Fields
cachedProperty
protected SerializedProperty cachedProperty
Field Value
objs
protected Object[] objs
Field Value
- Object[]
path
protected string path
Field Value
Properties
DisplayNoneOption
public virtual bool DisplayNoneOption { get; }
Property Value
Methods
CreateAsset()
public Object CreateAsset()
Returns
CreateInstance()
protected virtual Object CreateInstance()
Returns
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
Rectproperty
SerializedPropertylabel
GUIContent
UpdateReference(Object)
protected virtual void UpdateReference(Object obj)
Parameters
obj
Object