Table of Contents

Class Timer

Namespace
VoxelPlayground.Misc
Assembly
GamePlay.dll
public class Timer
Inheritance
object
Timer

Constructors

Timer(float, string)

public Timer(float duration, string name = "")

Parameters

duration float
name string

Methods

GetName()

public string GetName()

Returns

string

IsTimeUp()

public bool IsTimeUp()

Returns

bool

Reset()

public void Reset()

UpdateTimer(float)

public void UpdateTimer(float deltaTime)

Parameters

deltaTime float