기술 자료

Unity Engine

Unity Engine

AddMenuItem(DropdownMenu, string, string)

Add a MenuItem to the Scene view context menu.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static void AddMenuItem(DropdownMenu menu, string menuItemPath, string contextMenuPath = "")

Parameters

The Scene view context menu to add a MenuItem to.

menuItemPath

The menu item path that is registered with MenuItem.

contextMenuPath

The menu item path to display in the Scene view context menu.