Example #1
0
 void Start()
 {
     cubeList = new ConcurrentDictionary <string, GameObject>();
     OpenRelayClient.Connect();
     OpenRelayClient.OnSyncCall += OnRaiseEvent;
     StartCoroutine(LobbySequence());
 }
 private void Connect(string version, string serverAddress, string entryPort)
 {
     OpenRelayClient.Connect(version, serverAddress, entryPort);
     OpenRelayClient.OnSyncCall += OnSync;
 }