| | |
| | | [SerializeField] List<TextEx> fightAttrValues; |
| | | [SerializeField] TextEx[] skillDesces; |
| | | |
| | | [SerializeField] Transform topObj; |
| | | |
| | | protected override void OnPreOpen() |
| | | { |
| | |
| | | DelayCloseWindow().Forget(); |
| | | return; |
| | | } |
| | | |
| | | topObj.SetActive(ItemTipUtility.mainTipData.showAll); |
| | | |
| | | var equip = PackManager.Instance.GetItemByGuid(guid); |
| | | |
| | | itemCell.Display(equip.guid); |
| | |
| | | skillDesces[i].SetActive(true); |
| | | skillDesces[i].colorType = i == hasCnt - 1 ? TextColType.lightYellow : TextColType.NavyGray; |
| | | var showCnt = Math.Min(hasCnt, i + 1); |
| | | skillDesces[i].text = SkillConfig.Get(skillID).Description + " " + Language.Get("HeroFates11", showCnt, i + 1); |
| | | skillDesces[i].text = Language.Get("L1039", Language.Get($"MinggeSkillType_{skillID}")) + |
| | | SkillConfig.Get(skillID + i).Description + " " + Language.Get("HeroFates11", showCnt, i + 1); |
| | | } |
| | | } |
| | | } |