Esempio n. 1
0
    private void SetPlayerInfo()
    {
        // 默认打开球队卡牌界面
        List <object> listObj           = new List <object>();
        List <int>    equip_player_list = EquipConfig.GetHasEquipPlayerList();

        equip_player_list.Sort(ComparePlayer);

        for (int i = 0; i < equip_player_list.Count; i++)
        {
            int id = equip_player_list[i];
            listObj.Add(id);
            if (cur_select_player_id < 0)
            {
                cur_select_player_id = id;
            }
        }

        panel.playerGrid.AddCustomDataList(listObj);
    }