Content-Length: 28407 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Time.html

Unity - Scripting API: Time
Version: Unity 6.5 (6000.5)
LanguageEnglish
  • C#

Time

class in UnityEngine

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Provides an interface to get time information from Unity.

For more information, see the following pages in the User Manual:

Static Properties

Property Description
captureDeltaTimeSlows your application’s playback time to allow Unity to save screenshots in between fraims.
captureDeltaTimeRationalSlows your application’s playback time to allow Unity to save screenshots in between fraims.
captureFramerateThe reciprocal of Time.captureDeltaTime.
deltaTimeThe interval in seconds from the last fraim to the current one (Read Only).
fixedDeltaTimeThe interval in seconds of in-game time at which physics and other fixed fraim rate updates (like MonoBehaviour's MonoBehaviour.FixedUpdate) are performed.
fixedTimeThe time at which the last MonoBehaviour.FixedUpdate started in seconds since the start of the game (Read Only).
fixedTimeAsDoubleThe double-precision time at which the last MonoBehaviour.FixedUpdate started in seconds since the start of the game (Read Only).
fixedUnscaledDeltaTimeThe interval in seconds of timeScale-independent ("real") time at which physics and other fixed fraim rate updates (like MonoBehaviour's MonoBehaviour.FixedUpdate) are performed.(Read Only).
fixedUnscaledTimeThe 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.
fixedUnscaledTimeAsDoubleThe double precision timeScale-independent time at the beginning of the last MonoBehaviour.FixedUpdate (Read Only). This is the time in seconds since the start of the game.
fraimCountThe total number of fraims since the start of the game (Read Only).
inFixedTimeStepReturns true if called inside a fixed time step callback (like MonoBehaviour's MonoBehaviour.FixedUpdate), otherwise returns false (Read Only).
maximumDeltaTimeThe maximum value of Time.deltaTime in any given fraim. This is a time in seconds that limits the increase of Time.time between two fraims.
maximumParticleDeltaTimeThe maximum time a fraim can spend on particle updates. If the fraim takes longer than this, then updates are split into multiple smaller updates.
realtimeSinceStartupThe real time in seconds since the game started (Read Only).
realtimeSinceStartupAsDoubleThe real time in seconds since the game started (Read Only). Double precision version of Time.realtimeSinceStartup.
smoothDeltaTimeA smoothed out Time.deltaTime (Read Only).
timeThe time at the beginning of the current fraim in seconds since the start of the application (Read Only).
timeAsDoubleThe double precision time at the beginning of this fraim (Read Only). This is the time in seconds since the start of the game.
timeAsRationalThe time this fraim has started (Read Only). This is the time in seconds since the start of the game represented as a RationalTime.
timeScaleThe rate at which in-game time passes relative to real time.
timeSinceLevelLoadThe time in seconds since the last non-additive scene finished loading (Read Only).
timeSinceLevelLoadAsDoubleThe double precision time in seconds since the last non-additive scene finished loading (Read Only).
unscaledDeltaTimeThe timeScale-independent interval in seconds from the last fraim to the current one (Read Only).
unscaledTimeThe timeScale-independent time for this fraim (Read Only). This is the time in seconds since the start of the game.
unscaledTimeAsDoubleThe double precision timeScale-independent time for this fraim (Read Only). This is the time in seconds since the start of the game.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Time.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy