Version: 5.4

Time

class in UnityEngine

Switch to Manual

Description

The interface to get time information from Unity.

Static Variables

captureFramerateSlows game playback time to allow screenshots to be saved between frames.
deltaTimeВремя в секундах, которое потребовалось для отрисовки последнего кадра (Read Only).
fixedDeltaTimeThe interval in seconds at which physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) are performed.
fixedTimeThe time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game.
frameCountThe total number of frames that have passed (Read Only).
maximumDeltaTimeThe maximum time a frame can take. Physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate).
realtimeSinceStartupThe real time in seconds since the game started (Read Only).
smoothDeltaTimeA smoothed out Time.deltaTime (Read Only).
timeThe time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.
timeScaleThe scale at which the time is passing. This can be used for slow motion effects.
timeSinceLevelLoadThe time this frame has started (Read Only). This is the time in seconds since the last level has been loaded.
unscaledDeltaTimeThe timeScale-independent time in seconds it took to complete the last frame (Read Only).
unscaledTimeThe timeScale-independant time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.