Version 3.3.1.2

TypeDrawer<T> class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(0, 0, 2001)]
public class TypeDrawer<T> : OdinValueDrawer<T>, IDefinesGenericMenuItems where T : Type
Type property drawer
Inheritance

Type Parameters

T

Constructors

TypeDrawer()
public TypeDrawer()

Fields

IsValid
public bool IsValid
TypeNameTemp
public string TypeNameTemp
UniqueControlName
public string UniqueControlName
WasFocusedControl
public bool WasFocusedControl

Methods

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

Initialize()
protected override void Initialize()
PopulateGenericMenu(InspectorProperty, GenericMenu)
public void PopulateGenericMenu(InspectorProperty property, GenericMenu genericMenu)
Parameters
InspectorProperty property

UnityEditor.GenericMenu genericMenu

Extension Methods