public void SetUIRuneInfo(RuneData runeData, bool isEquippedRune, UIRune uiRune) { SetName(runeData.Name); SetGrade(RuneService.GetNameStrByGrade(runeData.Grade)); SetImage(runeData.Image); SetDescription(runeData.Description); SetEquipAndReleaseButtonAndText(isEquippedRune); SetAttribute(runeData.AbilityData); this.uiRune = uiRune; this.isEquippedRune = isEquippedRune; }
private void SetRuneGrade(RuneGrade runeGrade) { this.goodsGrade.text = RuneService.GetNameStrByGrade(runeGrade); }
public override void SetUIRune(RuneData newRuneData) { base.SetUIRune(newRuneData); gradeText.text = RuneService.GetNameStrByGrade(newRuneData.Grade); }
public void SetGoodsGrade(RuneGrade runeGrade) { goodsGrade.text = RuneService.GetNameStrByGrade(runeGrade); }