public void Update() { //消息 msgDist.Update(); //心跳 //if (status == Status.Connected) //{ // if (Time.time - lastTickTime > heartBeatTime) // { // ProtocolBase protocol = NetMgr.GetHeatBeatProtocol(); // Send(protocol); // lastTickTime = Time.time; // } //} }