Class ActivateGameObjectCommand
Class ActivateGameObjectCommand.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Staging
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 |
|
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
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
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
FindTarget()
Finds the target.
Declaration
public void FindTarget()