public void Bind(SkillModel heroModel, SkillScrollList heroScrollList) { model = heroModel; scrollList = heroScrollList; nameText.text = model.skillName; skillTypeText.text = "战法类型:" + PrefDefine.SKILL_TYPE[model.skillType]; soldierTypeText.text = "兵种:" + PrefDefine.SOLDIER_TYPE[model.soldierType]; }
public void GetAllSkills(SkillScrollList controller) { skillController = controller; StartCoroutine(GetAllSkills()); }