Version 2.1.0.0

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> 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()

Methods

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

Initialize()
protected override void Initialize()
Extension Methods

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.