Beispiel #1
0
 public void ReconnectToServer()
 {
     if (m_warpClient == null)
     {
         Debug.LogError("[WarpNetworkManager] not initialized, its NULL [ReconnectToServer]");
         return;
     }
     if (m_iSessionID == 0)
     {
         Debug.Log("[WarpNetworkManager] no session ID [ReconnectToServer]");
         m_warpClient.RecoverConnection();
     }
     else
     {
         m_warpClient.RecoverConnectionWithSessioId(m_iSessionID, PlayerName);
     }
 }