void LostConnect()
 {
     observer.LostConnect(() =>
     {
         ConsoleView.LogWarning("lost connect from server");
         SocketClient.StopHeartBeat();
     });
 }
Exemple #2
0
 void LostConnect()
 {
     if (observer != null)
     {
         observer.LostConnect(() =>
         {
             Loom.QueueOnMainThread(() =>
             {
                 Debugger.LogWarning("lost connect from server");
                 SocketClient.StopHeartBeat();
             });
         });
     }
 }