Class ActivateVirtualCameraCommand
Class ActivateVirtualCameraCommand.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Staging
Syntax
public class ActivateVirtualCameraCommand : Command
Fields
cinemachineVirtualCamera
The cinemachine virtual camera
Declaration
[SerializeField]
public CinemachineVirtualCamera cinemachineVirtualCamera
Field Value
Type | Description |
---|---|
Cinemachine.CinemachineVirtualCamera |
setActive
The set active
Declaration
[SerializeField]
public bool setActive
Field Value
Type | Description |
---|---|
Boolean |
Methods
ExecuteCommand(CommandContext)
Set the SetActive State of the Gameobject of the VirtualCamera
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. |