コード例 #1
0
 public void OnDiscoveredServer(ServerResponse info)
 {
     // Note that you can check the versioning to decide if you can connect to the server or not using this method
     discoveredServers[info.serverId] = info;
 }
コード例 #2
0
 void Connect(ServerResponse info)
 {
     _ = networkManager.client.ConnectAsync(info.uri.First());
 }
 void Connect(ServerResponse info)
 {
     networkDiscovery.StopDiscovery();
     NetworkManager.singleton.StartClient(info.uri);
 }