Esempio n. 1
0
    void Clicked()
    {
        discovery = GameObject.FindGameObjectWithTag("discovery").GetComponent <NetworkDiscoveryManager>();
        discovery.StopBroadcast();
        NetworkLobby lobby = Manager.GetComponent <NetworkLobby>();

        lobby.networkAddress = ServerAddress;
        lobby.StartClient();
        ServerList.SetActive(false);
    }
 private void Awake()
 {
     inst = this;
 }