Class PlayTimelineCommand
Class PlayTimelineCommand.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Industrial.Forma.Staging.Animations
Syntax
[MovedFrom(true, "UnityEngine.Industrial.Configuring.Staging", "Unity.Industrial.Configurator", null)]
public class PlayTimelineCommand : Command
Properties
playableDirector
Gets or sets the playable director.
Declaration
public PlayableDirector playableDirector { get; set; }
Property Value
| Type | Description |
|---|---|
| PlayableDirector | The playable director. |
setPlay
Gets or sets a value indicating whether [set play].
Declaration
public bool setPlay { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
|
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. |