Version 3.3.1.2

UnityPropertyAttributeDrawer<TDrawer, TAttribute, TAttributeConstraint> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(0, 0, 999.5)]
[OdinDontRegister]
public sealed class UnityPropertyAttributeDrawer<TDrawer, TAttribute, TAttributeConstraint> : OdinAttributeDrawer<TAttribute>, IDisposable, IUnityPropertyFieldDrawer where TDrawer : PropertyDrawer, new()
    where TAttribute : TAttributeConstraint where TAttributeConstraint : PropertyAttribute
Unity property attribute drawer.
Inheritance

Type Parameters

TDrawer

TAttribute

TAttributeConstraint

Constructors

UnityPropertyAttributeDrawer()
Initializes the drawer.
public UnityPropertyAttributeDrawer()

Properties

WillDrawPropertyField
public bool WillDrawPropertyField { get; }

Methods

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

Initialize()
protected override void Initialize()
Extension Methods