Class SetHotspotStateToCommand
Class SetHotspotStateToCommand.
Inherited Members
Namespace: Unity.Industrial.Forma.Staging.Hotspots
Syntax
public class SetHotspotStateToCommand : Command
Methods
ExecuteCommand(CommandContext)
Executes the command.
When executed, this Command will set the Hotspot.State of the effected Hotspot to the Desired State.
Declaration
protected override IEnumerator ExecuteCommand(CommandContext commandContext)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandContext | commandContext | The command context. |
Returns
| Type | Description |
|---|---|
| IEnumerator | IEnumerator. |
Overrides
ExecuteCommandEditor(CommandContext)
Executes the command when run in the Unity Editor.
Declaration
protected override IEnumerator ExecuteCommandEditor(CommandContext commandContext)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandContext | commandContext | The command context. |
Returns
| Type | Description |
|---|---|
| IEnumerator | IEnumerator. |