IElementAdderMenuCommand(TContext) Interface
Reorderable List Control for Unity
| IElementAdderMenuCommandTContext Interface |
Interface for a menu command that can be included in an IElementAdderMenu
either by annotating an implementation of the IElementAdderMenuCommandTContext
interface with ElementAdderMenuCommandAttribute or directly by
calling AddCustomCommand(IElementAdderMenuCommandTContext).
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
public interface IElementAdderMenuCommand<TContext>
public interface IElementAdderMenuCommand.<TContext>
Type Parameters
- TContext
- Type of the context object that elements can be added to.
The IElementAdderMenuCommandTContext type exposes the following members.
| Name | Description | |
|---|---|---|
| CanExecute |
Determines whether the command can be executed.
| |
| Execute |
Executes the command.
|