Class ChangeParentWhilePlayTimeline
Class used to change source parents while playing timeline and revert back after
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 ChangeParentWhilePlayTimeline : MonoBehaviour
Methods
Play(Boolean, Boolean)
Change source parents while playing timeline and revert back after
Declaration
public IEnumerator Play(bool play = true, bool playForward = true)
Parameters
Type | Name | Description |
---|---|---|
Boolean | play | |
Boolean | playForward | Should timeline be played forward? |
Returns
Type | Description |
---|---|
IEnumerator | IEnumerator |