コード例 #1
0
    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;
    }
コード例 #2
0
 private void SetRuneGrade(RuneGrade runeGrade)
 {
     this.goodsGrade.text = RuneService.GetNameStrByGrade(runeGrade);
 }
コード例 #3
0
    public override void SetUIRune(RuneData newRuneData)
    {
        base.SetUIRune(newRuneData);

        gradeText.text = RuneService.GetNameStrByGrade(newRuneData.Grade);
    }
コード例 #4
0
 public void SetGoodsGrade(RuneGrade runeGrade)
 {
     goodsGrade.text = RuneService.GetNameStrByGrade(runeGrade);
 }