SetPlayState<U>(U, PlayState)
Changes the current PlayState of the Playable.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
SetPlayState<T>(T, PlayState)
public static void SetPlayState<U>(this U playable, PlayState value) where U : struct, IPlayable
Parameters
Remarks
PlayState.Playing: The local time of this Playable will be updated during the evaluation of the PlayableGraph.
PlayState.Paused: The local time of this Playable will not be updated during the evaluation of the PlayableGraph.
Use this templated extension method on any type that inherits from IPlayable.