Class CommandUI<T>
Command UI that generates VisualElement.
Namespace: Unity.Industrial.Forma.Editor.UI
Syntax
public abstract class CommandUI<T> : ICommandUI where T : Command
Type Parameters
| Name | Description |
|---|---|
| T | Command |
Methods
CommandType()
Return command type
Declaration
public Type CommandType()
Returns
| Type | Description |
|---|---|
| Type | The command type. |
Implements
CreateUI(T)
Declaration
protected abstract VisualElement CreateUI(T command)
Parameters
| Type | Name | Description |
|---|---|---|
| T | command |
Returns
| Type | Description |
|---|---|
| VisualElement |
CreateUI(Command)
Create Command UI contents.
Declaration
public VisualElement CreateUI(Command command)
Parameters
| Type | Name | Description |
|---|---|---|
| Command | command | command UI Contents that can create. |
Returns
| Type | Description |
|---|---|
| VisualElement | The created UI. |