기술 자료

Unity Engine

Download Unity

Unity Engine

PopulateContextMenu

Raised when a right click is handled on a HierarchyNode or on the background of the view.
읽는 시간 1분최근 업데이트: 3시간 전

Definition

public event HierarchyView.PopulateContextMenuEventHandler PopulateContextMenu

Remarks

This callback receives the HierarchyView and 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.