protected virtual void OnDisconnect(UnityEngine.Networking.NetworkConnection conn)
 {
     if (lobbyManager != null)
     {
         LobbyManager.s_Singleton.ShowDefaultPanel();
         LobbyManager.s_Singleton.ShowInfoPopup("Disconnected from server");
         lobbyManager.Disconnect();
     }
 }
Esempio n. 2
0
        protected virtual void OnDisconnect(UnityEngine.Networking.NetworkConnection conn)
        {
            if (lobbyManager != null)
            {
                LobbyManager.s_Singleton.ShowDefaultPanel();

                infoPanel.Display("Disconnected from server", "Cancel", null);

                lobbyManager.Disconnect();
            }
        }