Skip to content

API > Time


Time⚓︎

Provides an interface to get time information from Unity. Unity Time

Members⚓︎

Static Properties⚓︎

Name Description
Time.captureDeltaTime Static fieldPropertyReadonly Property Slows game playback time to allow screenshots to be saved between frames.
Time.captureFramerate Static fieldPropertyReadonly Property The reciprocal of Time.captureDeltaTime.
Time.deltaTime Static fieldPropertyReadonly Property The completion time in seconds since the last frame (Read Only).
Time.fixedDeltaTime Static fieldPropertyReadonly Property The interval in seconds at which physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) are performed.
Time.fixedTime Static fieldPropertyReadonly Property The time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game.
Time.fixedUnscaledDeltaTime Static fieldPropertyReadonly Property The timeScale-independent interval in seconds from the last fixed frame to the current one (Read Only).
Time.fixedUnscaledTime Static fieldPropertyReadonly Property The TimeScale-independant time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game.
Time.frameCount Static fieldPropertyReadonly Property
Time.inFixedTimeStep Static fieldPropertyReadonly Property Returns true if called inside a fixed time step callback (like MonoBehaviour's FixedUpdate), otherwise returns false.
Time.maximumDeltaTime Static fieldPropertyReadonly Property The maximum time a frame can take. Physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) will be performed only for this duration of time per frame.
Time.maximumParticleDeltaTime Static fieldPropertyReadonly Property 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.
Time.realtimeSinceStartup Static fieldPropertyReadonly Property The real time in seconds since the game started (Read Only).
Time.smoothDeltaTime Static fieldPropertyReadonly Property A smoothed out Time.deltaTime (Read Only).
Time.time Static fieldPropertyReadonly Property The time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.
Time.timeScale Static fieldPropertyReadonly Property The scale at which time passes. This can be used for slow motion effects.
Time.timeSinceLevelLoad Static fieldPropertyReadonly Property The time this frame has started (Read Only). This is the time in seconds since the last level has been loaded.
Time.unscaledDeltaTime Static fieldPropertyReadonly Property The timeScale-independent interval in seconds from the last frame to the current one (Read Only).
Time.unscaledTime Static fieldPropertyReadonly Property The timeScale-independant time for this frame (Read Only). This is the time in seconds since the start of the game.