public void Show(int treeID, SkillUpgradePanel myParent) { curTreeID = treeID; this.myParent = myParent; Init(); ShowPanel(); }
public void Show(int ID, int treeId, int posIndex, SkillUpgradePanel myparent) { skillID = ID; treeID = treeId; skillPosIndex = posIndex; myParent = myparent; configData = SkillDataManager.Instance.GetSkillConfigData(skillID); curSkill = SkillModel.Instance.GetCurSkill(skillID); Init(); ShowInfo(); }