Version 3.3.0.1

UnityPropertyDrawer<TDrawer, TDrawnType> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(0, 0, 0.5)]
[OdinDontRegister]
public class UnityPropertyDrawer<TDrawer, TDrawnType> : OdinValueDrawer<TDrawnType>, IDisposable, IUnityPropertyFieldDrawer where TDrawer : PropertyDrawer, new()
Unity property drawer.
Inheritance

Type Parameters

TDrawer

TDrawnType

Constructors

UnityPropertyDrawer()
Initializes the property drawer.
public UnityPropertyDrawer()

Fields

delayApplyValueUntilRepaint
protected bool delayApplyValueUntilRepaint
dontUseVisualElements
protected bool dontUseVisualElements
drawer
protected TDrawer drawer
propertyHandler
protected object propertyHandler

Properties

WillDrawPropertyField
public bool WillDrawPropertyField { get; }

Methods

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

Extension Methods
Derived Classes