![]() The C# library has a ConnectionHandler class, which can help. If overlooked, this problem is hard to identify and reproduce. Especially, make sure that Service is called despite loading. ![]() You should avoid longer pauses between calling either. Service and SendOutgoingCommands also send acknowledgements and pings, which are important to keep a connection alive. If so, call SendOutgoingCommands again (but not more than three times in a row). The bool return value is true if some data is still queued. ![]() To trigger sending any data, a main loop must call LoadBalancingClient.Service() or PhotonPeer.SendOutgoingCommands() frequently. This way, the clients can aggregate several operations and avoid network overhead. The client libraries are built to send any messages only when the app logic triggers that. So we assembled a list of tips you should keep in mind when developing with Photon. Performance is a vital part for providing a fluid and seamless integration of multiplayer components into your application.
0 Comments
Leave a Reply. |