您的位置:首页 > 移动开发 > Unity3D

Unity说明文档翻译-Time Manager

2017-06-08 08:58 633 查看

Time Manager

时间管理器

The Time Manager (menu: Edit > Project Settings > Time)
lets you set a number of properties that control timing within your game.

时间管理器(菜单:编辑>项目设置>时间)让你设置一系列属性以控制你游戏内的时间选择.

Properties

属性

Property:

Function:

Fixed Timestep

固定时间步

A framerate-independent interval that dictates when physics calculations and FixedUpdate() events
are performed.

一个帧速率独立的间隔,影响在物理运算时和FixedUpdate()事件的执行

Maximum Allowed Timestep

最大允许时间步

A framerate-independent interval that caps the worst case scenario when frame-rate is low. Physics calculations and FixedUpdate() events will
not be performed for longer time than specified.

一个帧速率独立的间隔,

Time Scale

时间比例

The speed at which time progress. Change this value to simulate bullet-time effects. A value of 1 means real-time. A value of .5 means half speed; a value of 2 is double speed.

时间前进的速度.改变这个值以模拟子弹时间效果.值为1意味着实时.值为0.5意味着半速;值为2是双倍速度.

Details

细节

The Time Manager lets you set properties globally but it is often useful to set them from a script during gameplay (for example, setting Time Scale to
zero is a useful way to pause the game). See the page on Time and Framerate Management for full details of how time can be managed in
Unity.

时间管理器让你设置全局属性但通常通过脚本在游戏期间设置它们是很有用的(例如,设置时间比例为0是暂停游戏的有效方式).参考页面”时间和帧速率管理”获取更多关于Unity内时间管理的细节.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息