标签:settings clear begin 更新 body depend ref sid smooth
class in UnityEngine
The interface to get time information from Unity.
captureFramerate | Slows game playback time to allow screenshots to be saved between frames. 表示设置每秒的频率而不考虑真实时间 |
deltaTime | The time in seconds it took to complete the last frame (Read Only).(只读)表示系统从上一帧到当前帧的时间 以秒为单位 |
fixedDeltaTime | The interval in seconds at which physics and other fixed frame rate updates (like MonoBehaviour‘s FixedUpdate) are performed.表示以秒计间隔,在物理和其他固定帧率进行更新,在Edit->ProjectSettings->Time的Fixed Timestep可以自行设置。 |
fixedTime | The time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game.(只读)表示以秒计游戏开始的时间,固定时间以定期间隔更新(相当于fixedDeltaTime)直到达到time属性。 |
fixedUnscaledDeltaTime | The timeScale-independent interval in seconds from the last fixed frame to the current one (Read Only).表示从上一个fixed frame 到现在的timescale-independent 时间 |
fixedUnscaledTime | The timeScale-independent time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game. |
frameCount | The total number of frames that have passed (Read Only). |
inFixedTimeStep | Returns true if called inside a fixed time step callback (like MonoBehaviour‘s FixedUpdate), otherwise returns false. |
maximumDeltaTime | The maximum time a frame can take. Physics and other fixed frame rate updates (like MonoBehaviour‘s FixedUpdate). |
maximumParticleDeltaTime | 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. |
realtimeSinceStartup | The real time in seconds since the game started (Read Only). |
smoothDeltaTime | A smoothed out Time.deltaTime (Read Only). |
time | The time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game. |
timeScale | The scale at which the time is passing. This can be used for slow motion effects.时间缩放,默认值为1,若设置<1,表示时间减慢,若设置>1,表示时间加快,可以用来加速和减速游戏,非常有用。 |
timeSinceLevelLoad | The time this frame has started (Read Only). This is the time in seconds since the last level has been loaded. |
unscaledDeltaTime | The timeScale-independent interval in seconds from the last frame to the current one (Read Only). |
unscaledTime | The timeScale-independent time for this frame (Read Only). This is the time in seconds since the start of the game. |
标签:settings clear begin 更新 body depend ref sid smooth
原文地址:http://www.cnblogs.com/mythdoraemon/p/7011109.html