private void Awake()
    {
        cardClient = GameObject.FindGameObjectWithTag(Tags.Networks).GetComponent<CardClient>();
        gameClient = GameClient.Instance;
        loginHandler = new LoginHandler();
        chatHandler = new ChatHandler();
        playerInfoHandler = new PlayerInfoHandler();
        cardInfoHandler = new CardInfoHandler();

        gameDataHandler = new TCPGameDataHandler();


        if (cardClient != null)
        { udpMessageList = cardClient.GetMessageList(); }
        else
        { LogsSystem.Instance.Print("UDP数据管理器不存在", LogLevel.ERROR); }
        if (gameClient != null)
        { tcpMessageList = gameClient.GetGameDataList(); }
        else
        { LogsSystem.Instance.Print("TCP数据管理器不存在", LogLevel.ERROR); }

    }