IProtocolToken

Just a brief simple example of using the new IProtocolToken functionality. Set bolt to require manual acceptance of connections.

First, use this script for your menu scene, replacing BoltInit.cs

This class is for whatever data you want to send from the client to the server when opening a connection.

This class will set your BoltConnection.AcceptToken and choose whether to accept or refuse the connection request.

 To Document Top