Documentation

Unity Engine

Download Unity

Unity Engine

Pause(ref TimerState)

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

Definition

Pause(TimerState)

public static void Pause(this ref TimerState timerState)

Parameters

timerState

The timer state to pause.

Remarks