Version: 2023.2
言語: 日本語
public static void AddMenuItemWithContext (UIElements.DropdownMenu menu, IEnumerable<Object> context, string menuItemPath, string contextMenuPath);

パラメーター

menu The Scene view context menu to add a MenuItem to.
context Target objects for the menu item.
menuItemPath The menu item path that is registered with MenuItem.
contextMenuPath The menu item path to display in the Scene view context menu.

説明

Adds a MenuItem to the Scene view context menu.