Play(ref TimerState)
Starts playing a TimerState, so that it advances during all following updates of the TimerState.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
Play(TimerState)
public static void Play(this ref TimerState timerState)
Parameters
The timer state to play.
Remarks
TimerState.PlayState becomes TimeControlState.Playing on the next TimerStateExtensions.Update. TimerState.IsPlaying is right away.
true