public void OnEnable()
        {
            Time.timeScale = 1;

            lobbyManager.GetComponent <Image>().enabled = true;
            lobbyManager.topPanel.ToggleVisibility(true);
            ipInput.onEndEdit.RemoveAllListeners();
            ipInput.onEndEdit.AddListener(onEndEditIP);

            matchNameInput.onEndEdit.RemoveAllListeners();
            matchNameInput.onEndEdit.AddListener(onEndEditGameName);
        }
        public void OnClickJoin()
        {
            lobbyManager.ChangeTo(lobbyPanel);
            lobbyManager.networkAddress = ipInput.text;
            lobbyManager.StartClient();

            lobbyManager.backDelegate = lobbyManager.StopClientClbk;
            lobbyManager.DisplayIsConnecting();

            lobbyManager.SetServerInfo("Connecting...", lobbyManager.networkAddress);


            lobbyManager.GetComponent <NetworkDiscovery>().isClient = true;
        }