PUN Classic (v1)、Boltはメンテナンスモードとなっております。Unity2022についてはPUN 2でサポートいたしますが、新機能が追加されることはありません。お客様のPUNプロジェクトおよびBoltプロジェクトが停止することはなく、将来にわたってパフォーマンス性能が落ちることはありません。
今後の新しいプロジェクトについては、Photon FusionまたはQuantumへ切り替えていただくようよろしくお願いいたします。
Server & Client Model
Bolt is using what is commonly referred to as the 'Client/Server Model', this means that one computer is considered the Server, everyone else is considered a Client and they connect directly to the Server.
There are a couple of things to note about this.
- The server have one
BoltConnectionobject per client. All client connections can be found underBoltNetwork.clients.
On the clients themselves this will return zero items. - The clients have only one
BoltConnectionwhich is the connection to the server.
This connection can be found atBoltNetwork.server. This property returns null on the server itself. - There is no connection that refers to yourself in any way, they always represents a link to another computer.
- There are no direct connections between clients, all data is passed through the server.