Public override void ConnectRequest(UdpEndPoint endpoint, Bolt. Use it on the server code in ConnectRequest:.Ive tried using methods like ReconnectAndRejoin, but it seems like it only works in PUN. The problem is that the Client tends to get disconnected a lot, an it doesnt reconnect automatically. Public override void ConnectRequest(UdpEndPoint endpoint, Bolt.IProtocolToken token) Im trying to make a Photon Bolt game that connects two devices. Override ConnectRequest to check whatever variable you have to keep track if the session should be private, and call BoltNetwork.Refuse if it should be private, or if the connection should be allowed, BoltNetwork.Accept: private bool serverShouldBePrivateNow
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |