Time Manual     Reference     Scripting  
Scripting > Runtime Classes > Time
Time

The interface to get time information from Unity.

Class Variables
time

The time this frame has started (Read Only). This is the time in seconds since the start of the game.

timeSinceLevelLoad

The time this frame has started (Read Only). This is the time in seconds since the last level has been loaded.

deltaTime

The time in seconds it took to complete the last frame (Read Only).

fixedTime

The time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game.

fixedDeltaTime

The interval in seconds at which physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) are performed.

maximumDeltaTime

The maximum time a frame can take. Physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate)

smoothDeltaTime

A smoothed out Time.deltaTime (Read Only).

timeScale

The scale at which the time is passing. This can be used for slow motion effects.

frameCount

The total number of frames that have passed (Read Only).

realtimeSinceStartup

The real time in seconds since the game started (Read Only).

captureFramerate

If captureFramerate is set to a value larger than 0, time will advance in