Version: 2019.4

Time

class in UnityEngine

マニュアルに切り替える

説明

Unity から Time 情報を取得するインターフェース

Static 変数

captureDeltaTimeフレーム間で保存されるスクリーンショットを許可するためゲームの再生時間が遅くなります。
captureFramerateThe reciprocal of Time.captureDeltaTime.
deltaTimeThe completion time in seconds since the last frame (Read Only).
fixedDeltaTimePhysics や (MonoBehaviour の FixedUpdate のような) 他の固定フレームレートの更新を実行するインターバル(秒)
fixedTime最新の FixedUpdate を開始した時間 (Read Only) 。これはゲーム開始からの時間(秒)です。
fixedUnscaledDeltaTimeThe timeScale-independent interval in seconds from the last fixed frame to the current one (Read Only).
fixedUnscaledTimeThe TimeScale-independant time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game.
frameCount経過したフレーム数の合計(Read Only)
inFixedTimeStepReturns true if called inside a fixed time step callback (like MonoBehaviour's FixedUpdate), otherwise returns false.
maximumDeltaTimeThe 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.
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)
smoothDeltaTimeTime.deltaTime を滑らかにします (Read Only)
timeこのフレームの開始する時間(Read Only)。ゲーム開始からの時間(秒)です。
timeScaleThe scale at which time passes. This can be used for slow motion effects.
timeSinceLevelLoadフレームが開始された時間 (Read Only) 。最後のレベルが読み込まれてからの時間 (秒) です。
unscaledDeltaTimeThe timeScale-independent interval in seconds from the last frame to the current one (Read Only).
unscaledTimeThe timeScale-independant 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