Time

Static members

Member

Description

deltaTime

fixedDeltaTime

systemTimeDay

systemTimeHour

systemTimeMillisecond

systemTimeMinute

systemTimeMonth

systemTimeSecond

systemTimeYear

time

timeScale

Sets the time scale of the game.

timeSinceLevelLoad

unscaledDeltaTime

unscaledTime

Details

class Time
static const float deltaTime
static const float fixedDeltaTime
static const int systemTimeDay
static const int systemTimeHour
static const int systemTimeMillisecond
static const int systemTimeMinute
static const int systemTimeMonth
static const int systemTimeSecond
static const int systemTimeYear
static const float time
static float timeScale

Sets the time scale of the game. Also tweaks the Time.fixedDeltaTime value and audio pitch to match the assigned time scale.

static const float timeSinceLevelLoad
static const float unscaledDeltaTime
static const float unscaledTime