Documentation

Unity Engine

Download Unity

Unity Engine

Stop(ref TimerState)

Stops a TimerState, so that it doesn't advance during following updates of the TimerState. The behavior of a TimerState when stopped is the same as paused, the only difference is how other systems interpret those two states.
Read time 1 minuteLast updated 4 hours ago

Definition

Stop(TimerState)

public static void Stop(this ref TimerState timerState)

Parameters

timerState

The timer state to stop.

Remarks