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