| | |
| | | |
| | | using System.Collections.Generic; |
| | | using UnityEngine; |
| | | |
| | |
| | | |
| | | public void PrintAllPack() |
| | | { |
| | | string temp = "CustomHB426CombinePack startTag: " + (startTag != null ? startTag.Tag : "null") + " fromIndex: " + fromIndex + " toIndex: " + toIndex + "\n"; |
| | | string temp = "CustomHB426CombinePack startTag: " + (startTag != null ? startTag.Tag : "null") + |
| | | " fromIndex: " + fromIndex + " toIndex: " + toIndex + " packList.Count: " + packList.Count + "\n"; |
| | | for (int i = 0; i < packList.Count; i++) |
| | | { |
| | | var pack = packList[i]; |
| | |
| | | temp += " pack type is " + pack.GetType().Name + "\n"; |
| | | } |
| | | } |
| | | // BattleDebug.LogError(temp); |
| | | BattleDebug.LogError(temp); |
| | | } |
| | | |
| | | public void AddPack(GameNetPackBasic pack) |
| | |
| | | parentSkill.subSkillList.Add(skillPack); |
| | | skillPack.parentSkill = parentSkill; |
| | | } |
| | | else |
| | | { |
| | | indexDict.Add(i, pack); |
| | | } |
| | | indexDict.Add(i, pack); |
| | | |
| | | } |
| | | else |
| | | { |