populateContextMenu
Add content to the context menu that appears when you right-click this toolbar element.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor.Toolbars
- Assembly: UnityEditor.CoreModule
public Action<DropdownMenu> populateContextMenu { get; set; }
Remarks
The context menu includes a menu item to hide the toolbar element by default. Use this to add custom menu items.
Action