Unity3D圣典3.3版本-中文版
文集大纲加载中……
本文档使用 MrDoc 发布
-
+
首页
Time 时间
# Time 时间 The interface to get time information from Unity. 从 Unity 获取时间信息的接口。 ### Class Variables**类变量** * [time](Time.time.html) The time this frame has started (Read Only). This is the time in seconds since the start of the game. 从游戏开始到到现在所用的时间(只读)。 * [timeSinceLevelLoad](Time.timeSinceLevelLoad.html) The time this frame has started (Read Only). This is the time in seconds since the last level has been loaded. 此帧开始的时间(只读)。这是以秒计算到最后的关卡已经加载完的时间。 * [deltaTime](Time.deltaTime.html) The time in seconds it took to complete the last frame (Read Only). 以秒计算,完成最后一帧的时间(只读)。 * [fixedTime](Time.fixedTime.html) The time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game. 最近的 [FixedUpdate](../MonoBehaviour/MonoBehaviour.FixedUpdate.html) 已开始的时间(只读)。这是以秒计自游戏开始的时间。 * [fixedDeltaTime](Time.fixedDeltaTime.html) The interval in seconds at which physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) are performed. 以秒计间隔,在物理和其他固定帧速率进行更新(像 MonoBehaviour 的 [FixedUpdate](../MonoBehaviour/MonoBehaviour.FixedUpdate.html))。 * [maximumDeltaTime](Time.maximumDeltaTime.html) The maximum time a frame can take. Physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) 一帧能获得的最大时间。物理和其他固定帧速率更新(像 [FixedUpdate](../MonoBehaviour/MonoBehaviour.FixedUpdate.html))。 * [smoothDeltaTime](Time.smoothDeltaTime.html) A smoothed out Time.deltaTime (Read Only). 一个平滑淡出 [Time.deltaTime](Time.deltaTime.html)(只读)。 * [timeScale](Time.timeScale.html) The scale at which the time is passing. This can be used for slow motion effects. 传递时间的缩放。这可以用于减慢运动效果。 * [frameCount](Time.frameCount.html) The total number of frames that have passed (Read Only). 已经传递的帧的总数(只读)。 * [realtimeSinceStartup](Time.realtimeSinceStartup.html) The real time in seconds since the game started (Read Only). 以秒计,自游戏开始的实时时间(只读)。 * [captureFramerate](Time.captureFramerate.html) If captureFramerate is set to a value larger than 0, time will advance in 如果 captureFramerate 设置比 0 大的值,时间会在每帧 (1.0 / captureFramerate) 前进,不考虑真实时间。
da
2022年5月23日 14:35
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码