Unity说明文档翻译-Time Manager

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内时间管理的细节.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值