Pular para o conteúdo
AstraDOCS

Astra.GameTimerRuntime

Astra atual · C# · 06 out. 2026Referência de assinaturas

Controls the session scheduler; countdown state is never authored or serialized.

Namespace: Astra · Assembly: Astra.Scripting · Tipo: Class

class Astra.GameTimerRuntime

Controls the session scheduler; countdown state is never authored or serialized.

Membro Categoria
Pause Method
Resume Method
Start Method
State Method
Stop Method

Pause

public static void Pause(Astra.Components.GameTimer timer)
Parâmetro Tipo Contrato
timer Astra.Components.GameTimer

Resume

public static void Resume(Astra.Components.GameTimer timer)
Parâmetro Tipo Contrato
timer Astra.Components.GameTimer

Start

public static void Start(Astra.Components.GameTimer timer, float seconds = 0)

Starts/restarts; positive seconds also updates the runtime interval. Zero uses the configured interval. Keeps per-timer pause.

Parâmetro Tipo Contrato
timer Astra.Components.GameTimer
seconds float · Opcional: 0

State

public static Astra.TimerRuntimeState State(Astra.Components.GameTimer timer)
Parâmetro Tipo Contrato
timer Astra.Components.GameTimer

Stop

public static void Stop(Astra.Components.GameTimer timer)
Parâmetro Tipo Contrato
timer Astra.Components.GameTimer