Class MacroCommand
A macro command is a command that contains other commands.
Inherited Members
Namespace: Unity.AppUI.Undo
Assembly: solution.dll
Syntax
public class MacroCommand : UndoCommand
  Constructors
| Name | Description | 
|---|---|
| MacroCommand(string) | Creates a new macro command.  | 
      
Properties
| Name | Description | 
|---|---|
| this[int] | Get the command at the specified index.  | 
      
| id | The unique identifier of the macro command type.  | 
      
| memorySize | The memory size of the macro command.  | 
      
Methods
| Name | Description | 
|---|---|
| Add(UndoCommand) | Adds a command to the macro command.  | 
      
| OnFlush() | This will call OnFlush() on all the commands contained in the macro command.  | 
      
| Redo() | Redoes the macro command.  | 
      
| Undo() | Undoes the macro command.  |