Namespace: | Sirenix.OdinInspector.Editor.Drawers |
Assembly: | Sirenix.OdinInspector.Editor |
[DrawerPriority(DrawerPriorityLevel.WrapperPriority)]
public sealed class CustomContextMenuAttributeDrawer : OdinAttributeDrawer<CustomContextMenuAttribute>, IDefinesGenericMenuItems
public CustomContextMenuAttributeDrawer()
protected override void DrawPropertyLayout(GUIContent label)
UnityEngine.GUIContent | label |
protected override void Initialize()
public void PopulateGenericMenu(InspectorProperty property, GenericMenu genericMenu)
InspectorProperty | property | |
UnityEditor.GenericMenu | genericMenu |