private void FixedUpdate() { try { client.SendData(GetSelfData()); } catch { Debug.Log("服务器停止运行"); } SynchronData(); }