docs.unity3d.com
    Show / Hide Table of Contents

    Class SetHotspotStateToCommand

    Class SetHotspotStateToCommand.

    Inheritance
    Object
    Command
    SetHotspotStateToCommand
    Inherited Members
    Command.Execution
    Command.Execute(CommandContext)
    Command.GetExportSettings()
    Command.CleanUpCommandEditor()
    Command.Cancel()
    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
    Command.ExecuteCommand(CommandContext)

    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.

    Overrides
    Command.ExecuteCommandEditor(CommandContext)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023