Version: 2023.2
言語: 日本語

Time

class in UnityEngine

マニュアルに切り替える

説明

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.

Static 変数

captureDeltaTimeSlows your application’s playback time to allow Unity to save screenshots in between frames.
captureDeltaTimeRationalSlows your application’s playback time to allow Unity to save screenshots in between frames.
captureFramerateThe reciprocal of Time.captureDeltaTime.
deltaTimeThe interval in seconds from the last frame to the current one (Read Only).
fixedDeltaTimePhysics や (MonoBehaviour の FixedUpdate のような) 他の固定フレームレートの更新を実行するインターバル(秒)
fixedTimeThe time since the last FixedUpdate started (Read Only). This is the time in seconds since the start of the game.
fixedTimeAsDoubleThe double precision time since the last FixedUpdate started (Read Only). This is the time in seconds since the start of the game.
fixedUnscaledDeltaTimeThe timeScale-independent interval in seconds from the last MonoBehaviour.FixedUpdate phase to the current one (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 FixedUpdate (Read Only). This is the time in seconds since the start of the game.
frameCountThe total number of frames since the start of the game (Read Only).
inFixedTimeStepReturns true if called inside a fixed time step callback (like MonoBehaviour's FixedUpdate), otherwise returns false.
maximumDeltaTimeThe 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.
maximumParticleDeltaTimeThe 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ゲーム開始からのリアルタイム(秒)(Read Only)
realtimeSinceStartupAsDoubleThe real time in seconds since the game started (Read Only). Double precision version of realtimeSinceStartup.
smoothDeltaTimeTime.deltaTime を滑らかにします (Read Only)
timeThe time at the beginning of this frame (Read Only).
timeAsDoubleThe double precision time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.
timeAsRationalThe time this frame has started (Read Only). This is the time in seconds since the start of the game represented as a RationalTime.
timeScaleThe scale at which time passes.
timeSinceLevelLoadThe time since this frame started (Read Only). This is the time in seconds since the last non-additive scene has finished loading.
timeSinceLevelLoadAsDoubleThe double precision time since this frame started (Read Only). This is the time in seconds since the last non-additive scene has finished loading.
unscaledDeltaTimeThe timeScale-independent interval in seconds from the last frame to the current one (Read Only).
unscaledTimeThe timeScale-independent time for this frame (Read Only). This is the time in seconds since the start of the game.
unscaledTimeAsDoubleThe double precision timeScale-independent time for this frame (Read Only). This is the time in seconds since the start of the game.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961