Version 3.3.0.1

UnityObjectDrawer<T> class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(0, 0, 0.25)]
public sealed class UnityObjectDrawer<T> : OdinValueDrawer<T>, IDefinesGenericMenuItems where T : Object
Unity object drawer.
Inheritance

Type Parameters

T

Constructors

UnityObjectDrawer()
public UnityObjectDrawer()

Methods

CanDrawValueProperty(InspectorProperty)
protected override bool CanDrawValueProperty(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Boolean

DrawPropertyLayout(GUIContent)
Draws the property.
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

Initialize()
Initializes this instance.
protected override void Initialize()
Extension Methods