menuName
The display name for this type shown in the Assets/Create menu.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public string menuName { get; set; }
Remarks
As with other menu item code, use a forward-slash ("/") path separator to group items into submenus. For example, specifying a MenuName of "Gameplay/Objective" will cause the menu item for a type to be 'Objective' inside a 'Gameplay' submenu of the Create submenu.
Note: Trailing space characters are removed from the menu name string. This means menu items whose names differ only by trailing space characters will be created as the same menu item.