Unity3D说明文档翻译-Network Emulation

Network Emulation

模拟网络

As part of Unity’s Networking feature set, you can choose to emulate slower internet connection speeds to test out your game experience for users in low-bandwidth areas.

作为Unity的联网特性集的一部分,你可以选择去模拟较慢的网络连接.迅速测试用户在低带宽区域对于你的游戏的体验.

To enable Network emulation, go to Edit->Network Emulation, and choose your desired connection speed emulation.

在编辑>模拟网络,选择你需要的模拟连接速度,来激活模拟网络.

Enabling Network Emulation

激活模拟网络

Technical Details

技术细节

Network emulation delays the sending of packets in networking traffic for the Network and Network View classes. The ping is artificially inflated for all options, the inflation value increasing as emulated connection speed gets slower. On the Dial-Up setting, packet dropping and variance is also introduced to simulate the worst possible connection ever. Emulation will persist whether you are serving the role of Server or Client.

通过Network和NetworkView类来模拟网络延迟发送数据包到网络交通中.Ping值是通过所有选项人工提高的,提高值增加以模拟连接速度变慢.在拨号上网设置,数据包丢弃和变异也表明模拟最差可能的连接.模拟将不管你是服务器或客服端都是持续的.

Network emulation only affects the Network and NetworkView classes, and will not alter or emulate specialized networking code written using .NET sockets.

模拟网络仅影响Network和NetworkView类,且不会更改或模拟使用.NET套接字的专门的联网代码.

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值