Skip to main content

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​

MemberWhat it is
protected CONTEXT()Creates an AltaMenuItemBase.CONTEXT with default values.

Properties​

MemberWhat 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​

MemberWhat it is
override string GetPath()Returns CONTEXT/ followed by the name of T, the path Unity uses for component context menus.