A class in Alta.MenuItem, the global namespace.
Root of a nested class tree that mirrors Unity editor menu paths. Menu items inherit from a nested class, and the class path (underscores as spaces) becomes the menu path. Editor tooling.
- Listed in Other Alta assemblies
- Nested types
_3rd_Party, Assets, CONTEXT<T>, Edit, File, GameObject, Play, Select, Tools, Township, Window
Constructors
| Member | What it is |
|---|
AltaMenuItemBase() | Creates an AltaMenuItemBase with default values. |
Fields
1 private and internal field
| Member | What it is |
|---|
private static readonly Dictionary<Type, AltaMenuItem> menuItems | Cache of menu item instances by type. |
Methods
| Member | What it is |
|---|
static AltaMenuItem GetItem<T>() | Returns a cached instance of the given menu item type, creating it on first use. |