AddMenuItem(DropdownMenu, string, string)
Add a MenuItem to the Scene view context menu.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Actions
- Assembly: UnityEditor.CoreModule
public static void AddMenuItem(DropdownMenu menu, string menuItemPath, string contextMenuPath = "")
Parameters
The Scene view context menu to add a MenuItem to.
The menu item path to display in the Scene view context menu.