hch
19 小时以前 6e55b6042adcab2ae50a2c8f23baf8dbfd6ff2b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Collections.Generic;
using UnityEngine.UI;
using System.Linq;
using LitJson;
using System;
 
public partial class RechargeManager : GameSystemManager<RechargeManager>
{
    public int selectTabIndex;  //0 点券 1 金币
 
    public List<int> GetCTGIDListByType(int type)
    {
        var list = new List<int>();
        foreach (var config in CTGConfig.GetValues())
        {
            if (config.PayType == type)
            {
                list.Add(config.RecordID);
            }
        }
        return list;
    }
}