populateContextMenu
Add content to the context menu that appears when you right-click this toolbar element.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEditor.Toolbars
- Assembly: UnityEditor
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