Provides an interface to get time information from Unity.
For more information, see the following pages in the User Manual:
- Time and Framerate Management
- Order of execution for event functions.
captureDeltaTime | Slows your application’s playback time to allow Unity to save screenshots in between frames. |
captureFramerate | The reciprocal of Time.captureDeltaTime. |
deltaTime | The interval in seconds from the last frame to the current one (Read Only). |
fixedDeltaTime | The interval in seconds at which physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) are performed. |
fixedTime | The time since the last FixedUpdate started (Read Only). This is the time in seconds since the start of the game. |
fixedUnscaledDeltaTime | The timeScale-independent interval in seconds from the last MonoBehaviour.FixedUpdate phase to the current one (Read Only). |
fixedUnscaledTime | The timeScale-independent time at the beginning of the last MonoBehaviour.FixedUpdate phase (Read Only). This is the time in seconds since the start of the game. |
frameCount | The total number of frames since the start of the game (Read Only). |
inFixedTimeStep | Returns true if called inside a fixed time step callback (like MonoBehaviour's FixedUpdate), otherwise returns false. |
maximumDeltaTime | The maximum value of Time.deltaTime in any given frame. This is a time in seconds that limits the increase of Time.time between two frames. |
maximumParticleDeltaTime | The maximum time a frame can spend on particle updates. If the frame takes longer than this, then updates are split into multiple smaller updates. |
realtimeSinceStartup | The real time in seconds since the game started (Read Only). |
smoothDeltaTime | A smoothed out Time.deltaTime (Read Only). |
time | The time at the beginning of this frame (Read Only). |
timeScale | The scale at which time passes. |
timeSinceLevelLoad | The time since this frame started (Read Only). This is the time in seconds since the last non-additive scene has finished loading. |
unscaledDeltaTime | The timeScale-independent interval in seconds from the last frame to the current one (Read Only). |
unscaledTime | The timeScale-independent time for this frame (Read Only). This is the time in seconds since the start of the game. |