Table of Contents

Class NetworkTimerExt

Namespace
Netick.Unity
Assembly
Netick.Unity.dll
public static class NetworkTimerExt
Inheritance
NetworkTimerExt
Inherited Members

Methods

GetElapsedTime(NetworkTimer, NetworkSandbox, bool)

public static float GetElapsedTime(this NetworkTimer timer, NetworkSandbox sandbox, bool usePredictedTiming = false)

Parameters

timer NetworkTimer
sandbox NetworkSandbox
usePredictedTiming bool

Returns

float

GetRemainingTime(NetworkTimer, NetworkSandbox, bool)

public static float GetRemainingTime(this NetworkTimer timer, NetworkSandbox sandbox, bool usePredictedTiming = false)

Parameters

timer NetworkTimer
sandbox NetworkSandbox
usePredictedTiming bool

Returns

float

IsRunning(NetworkTimer, NetworkSandbox, bool)

public static bool IsRunning(this NetworkTimer timer, NetworkSandbox sandbox, bool usePredictedTiming = false)

Parameters

timer NetworkTimer
sandbox NetworkSandbox
usePredictedTiming bool

Returns

bool

IsStopped(NetworkTimer, NetworkSandbox, bool)

public static bool IsStopped(this NetworkTimer timer, NetworkSandbox sandbox, bool usePredictedTiming = false)

Parameters

timer NetworkTimer
sandbox NetworkSandbox
usePredictedTiming bool

Returns

bool