using System.Collections.Generic; using UnityEngine.UI; using System.Linq; using LitJson; using System; public partial class RechargeManager : GameSystemManager { public int selectTabIndex; //0 点券 1 金币 public List GetCTGIDListByType(int type) { var list = new List(); foreach (var config in CTGConfig.GetValues()) { if (config.PayType == type) { list.Add(config.RecordID); } } return list; } }