Closed AlexanderVorobyov closed 2 years ago
PropertyDrawerBase.EnableContextMenu
PropertyDrawerBase.OnContextMenu()
SerializedPropertyGUIScope
EditorGUI.BeginProperty()
SerializedPropertyContextMenuScope
Create branch from main
main
issue-247-add-propertydrawerbase-option-to-define-custom-context-menu
PropertyDrawerBase.EnableContextMenu
property to enable setup of custom context menu for current property drawer.PropertyDrawerBase.OnContextMenu()
overridable method to define custom additional context menu for the property drawer.SerializedPropertyGUIScope
structure used as scope to wrap property aroundEditorGUI.BeginProperty()
methods.SerializedPropertyContextMenuScope
structure scope used to define temporary context menu around specified scope.