Version 2.1.0.0

PropertyContextMenuDrawer<T> class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(95, 0, 0)]
public sealed class PropertyContextMenuDrawer<T> : OdinValueDrawer<T>
Opens a context menu for any given property on right click. The context menu is populated by all relevant drawers that implements Sirenix.OdinInspector.Editor.IDefinesGenericMenuItems.
Inheritance
See Also
  • Sirenix.OdinInspector.Editor.IDefinesGenericMenuItems

Type Parameters

T

Constructors

PropertyContextMenuDrawer()
public PropertyContextMenuDrawer()

Methods

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