photon pun+を使って作ってるゲームの話

Post on 26-Jul-2015

249 Views

Category:

Software

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

https://www.assetstore.unity3d.com/en/#!/content/12080より

https://www.assetstore.unity3d.com/en/#!/content/32351より

8.17.4.36 int PhotonNetwork.sendRate [static], [get], [set]

Defines how many times per second PhotonNetwork should send a package. If you change this, do not forget to also change ’sendRateOnSerialize’.

Less packages are less overhead but more delay. Setting the sendRate to 50 will create up to 50 packages per second (which is a lot!). Keep your target platform in mind: mobile networks are slower and less reliable.

適当訳

1秒間にPhotonNetworkが送信するパッケージの数を定義しています。この値を変えた場合、sendRateOnSerializeも変える事を忘れないでください。少ないパッケージは負荷を低下させますがディレイが発生します。sendRateを50に設定した場合、1秒間に50パッケージとなります。(実際多い)

目的のプラットフォームを念頭においてください。モバイルネットワークは通信が遅く信頼性も低いです。

top related