Version 3.3.1.2

CollectionDrawer<T> class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[AllowGUIEnabledForReadonly]
[DrawerPriority(0, 0, 0.9)]
public class CollectionDrawer<T> : OdinValueDrawer<T>, IDefinesGenericMenuItems, IHackyListDrawerInteractions
Property drawer for anything that has a Sirenix.OdinInspector.Editor.ICollectionResolver.
Inheritance

Type Parameters

T

Constructors

CollectionDrawer()
public CollectionDrawer()

Methods

CanDrawValueProperty(InspectorProperty)
protected override bool CanDrawValueProperty(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Boolean

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

Initialize()
Initializes the drawer.
protected override void Initialize()
Extension Methods