Version 2.1.0.0

PrimitiveCompositeDrawer<T> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public abstract class PrimitiveCompositeDrawer<T> : OdinValueDrawer<T>
Property drawer for primitive composite properties.
Inheritance

Type Parameters

T

Constructors

PrimitiveCompositeDrawer()
protected PrimitiveCompositeDrawer()

Methods

DrawPropertyField(IPropertyValueEntry<T>, GUIContent)
Draws the property field.
protected abstract void DrawPropertyField(IPropertyValueEntry<T> entry, GUIContent label)
Parameters
Sirenix.OdinInspector.Editor.IPropertyValueEntry<T> entry

UnityEngine.GUIContent label

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.