AltaMenuItemBase.CONTEXT<T>
An abstract class in Alta.MenuItem, the global namespace.
Editor menu item base for a Unity inspector context menu entry on component type T (path CONTEXT/ plus the type name). Nothing in this build derives from it; does nothing at runtime.
Constructors
Properties
| Member | What it is |
|---|
T Target { get; private set; } | The component the context menu was opened on. Its setter is private and nothing in this build sets it. |
Methods
| Member | What it is |
|---|
override string GetPath() | Returns CONTEXT/ followed by the name of T, the path Unity uses for component context menus. |