Version 2.1.0.0

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> 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
drawer
protected TDrawer drawer
propertyHandler
protected object propertyHandler

Methods

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

Extension Methods
Derived Classes

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.