| | |
| | | List<int> petSkillIdlist = new List<int>();
|
| | | List<int> petSkillUnlockLvlist = new List<int>();
|
| | | List<bool> petSkillIsUnlocklist = new List<bool>();
|
| | | List<PetInfoConfig> list = new List<PetInfoConfig>();
|
| | | private void SetAllPetSkillModel()
|
| | | {
|
| | | petSkillUnlockLvlist.Clear();
|
| | | petSkillIdlist.Clear();
|
| | | petSkillIsUnlocklist.Clear();
|
| | | List<PetInfoConfig> list = Config.Instance.GetAllValues<PetInfoConfig>();
|
| | | if (list.Count <= 0)
|
| | | {
|
| | | list = Config.Instance.GetAllValues<PetInfoConfig>();
|
| | | }
|
| | | // List<PetInfoConfig> list = Config.Instance.GetAllValues<PetInfoConfig>();
|
| | | for (int i = 0; i < list.Count; i++)
|
| | | {
|
| | | if (petmodel._DicPetBack.ContainsKey(list[i].ID))
|
| | |
| | | SkillButtonPet skillButton = cell.transform.GetChild(i).GetComponent<SkillButtonPet>();
|
| | | FunctionUnlockFlyObjectTarget functionUnlockFlyObjectTarget = cell.transform.GetChild(i).GetComponent<FunctionUnlockFlyObjectTarget>();
|
| | | int petId = 0;
|
| | | List<PetInfoConfig> list = Config.Instance.GetAllValues<PetInfoConfig>();
|
| | | // List<PetInfoConfig> list = Config.Instance.GetAllValues<PetInfoConfig>();
|
| | | if (list.Count <= 0)
|
| | | {
|
| | | list = Config.Instance.GetAllValues<PetInfoConfig>();
|
| | | }
|
| | | for (int j = 0; j < list.Count; j++)
|
| | | {
|
| | | int[] ids = ConfigParse.GetMultipleStr<int>(list[j].SkillID);
|