PopulateContextMenu
Raised when a right click is handled on a node or on the background of the HierarchyView.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Event
- Namespace: Unity.Hierarchy.Editor
- Assembly: UnityEditor
public static event HierarchyWindow.PopulateContextMenuEventHandler PopulateContextMenu
Remarks
This callback receives the HierarchyViewItem to create the context menu for and the DropdownMenu to populate. If the user right-clicks in empty space, the callback receives null for the view item.