docs.unity3d.com
    Show / Hide Table of Contents

    Class ActivateGameObjectCommand

    Class ActivateGameObjectCommand.

    Inheritance
    Object
    Command
    ActivateGameObjectCommand
    Inherited Members
    Command.Execution
    Command.Execute(CommandContext)
    Command.GetExportSettings()
    Command.Cancel()
    Namespace: Unity.Industrial.Forma.Staging.Commands
    Syntax
    public class ActivateGameObjectCommand : Command

    Properties

    setActive

    Gets or sets a value indicating whether [set active].

    Declaration
    public bool setActive { get; set; }
    Property Value
    Type Description
    Boolean

    true if [set active]; otherwise, false.

    targetGameObject

    Gets or sets the target game object.

    Declaration
    public GameObject targetGameObject { get; set; }
    Property Value
    Type Description
    GameObject

    The target game object.

    Methods

    CleanUpCommandEditor()

    Cleans up command editor.

    Declaration
    public override void CleanUpCommandEditor()
    Overrides
    Command.CleanUpCommandEditor()

    ExecuteCommand(CommandContext)

    Executes the command.

    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 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)

    FindTarget()

    Finds the target.

    Declaration
    public void FindTarget()
    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