Version 3.3.1.2

UnityObjectRootDrawer<T> class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(0, 100, 0)]
public sealed class UnityObjectRootDrawer<T> : OdinValueDrawer<T> where T : Object
Inheritance

Type Parameters

T

Constructors

UnityObjectRootDrawer()
public UnityObjectRootDrawer()

Fields

IsGameObject
public static readonly bool IsGameObject

Methods

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

Returns
System.Boolean

DrawPropertyLayout(GUIContent)
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

Extension Methods