Version 3.3.0.1

UnityDecoratorAttributeDrawer<TDrawer, TAttribute, TAttributeConstraint> class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(0, 1, 0)]
[OdinDontRegister]
public sealed class UnityDecoratorAttributeDrawer<TDrawer, TAttribute, TAttributeConstraint> : OdinAttributeDrawer<TAttribute>, IDisposable where TDrawer : DecoratorDrawer, new()
    where TAttribute : TAttributeConstraint where TAttributeConstraint : PropertyAttribute
Draws all Unity DecoratorDrawers within prepend attribute drawers within Odin.
Inheritance

Type Parameters

TDrawer

TAttribute

TAttributeConstraint

Constructors

UnityDecoratorAttributeDrawer()
public UnityDecoratorAttributeDrawer()

Methods

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

Extension Methods