用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:time:time

Time 时间

class in UnityEngine

Description 描述

The interface to get time information from Unity.

获取时间信息的接口。

Static Variables 静态变量

captureFramerateSlows game playback time to allow screenshots to be saved between frames.
减慢游戏播放时间以允许在帧之间保存屏幕图像。
deltaTimeThe time in seconds it took to complete the last frame (Read Only).
以秒计算,完成最后一帧的时间(只读)。
fixedDeltaTimeThe interval in seconds at which physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) are performed.
以秒计间隔,在物理和其他固定帧速率进行更新(像MonoBehaviour的FixedUpdate)。
fixedTimeThe time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game.
最近的FixedUpdate已开始的时间(只读)。这是以秒计自游戏开始的时间。
frameCountThe total number of frames that have passed (Read Only).
已经传递帧的总数(只读)。
maximumDeltaTimeThe maximum time a frame can take. Physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate).
一帧能获得的最大时间。物理和其他固定帧速率更新(像FixedUpdate)。
realtimeSinceStartupThe real time in seconds since the game started (Read Only).
以秒计,自游戏开始的真实时间(只读)。
smoothDeltaTimeA smoothed out Time.deltaTime (Read Only).
经平滑的Time.deltaTime时间(只读)。
timeThe time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.
以秒计算,从游戏开始的时间(只读)。也就是说,从游戏开始到到现在所用的时间。
timeScaleThe scale at which the time is passing. This can be used for slow motion effects.
时间的缩放。这可以用于减慢运动效果。
timeSinceLevelLoadThe time this frame has started (Read Only). This is the time in seconds since the last level has been loaded.
以秒计算,从最后的关卡已经加载完的时间(只读)。
unscaledDeltaTimeThe timeScale-independent time in seconds it took to complete the last frame (Read Only).
无关timeScale,以秒计算,要完成最后一帧的时间(只读)。
unscaledTimeThe timeScale-independant time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.
无关timeScale,以秒计算,从游戏开始的时间(只读)。
script/unityengine/classes/time/time.txt · 最后更改: 2016/08/02 05:32 (外部编辑)