Documentation

Unity Engine

Unity Engine

PopulateContextMenu

Raised when a right click is handled on a node or on the background of the HierarchyView.
Read time 1 minuteLast updated a month ago

Definition

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.