Class ChangeParentWhilePlayTimelineCommand
Class ChangeParentWhilePlayTimelineCommand. Change source parents while playing timeline and revert back after
Inheritance
ChangeParentWhilePlayTimelineCommand
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Industrial.Forma.Staging.Animations
Syntax
public class ChangeParentWhilePlayTimelineCommand : Command
Methods
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. |