public static Create ( ) : |
||
Результат |
private void AutoDiscoverInit() { discoveryClientAdapter = new DiscoveryClientAdapter(); discoveryClientAdapter.DiscoveredEvent += OnSystemDiscovered; discoveryClient = DiscoveryClient.Create(); discoveryClient.AddListener(discoveryClientAdapter); //Start Finding Server isTryingToFindServer = true; }
private void AutoDiscoverInit() { if (ShowDetailedLogs) { Debug.Log("Looking for servers..."); } discoveryClientAdapter = new DiscoveryClientAdapter(); discoveryClientAdapter.DiscoveredEvent += OnSystemDiscovered; discoveryClient = DiscoveryClient.Create(); discoveryClient.AddListener(discoveryClientAdapter); //Start Finding Server isTryingToFindServer = true; }