Main/System/HeroUI/HeroGiftEatSuccessWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Main/System/HeroUI/HeroTrainWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Main/System/HeroUI/HeroUIManager.OnTeam.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Main/System/HeroUI/HeroUIManager.Reborn.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Main/System/HeroUI/HeroUIManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Main/Utility/ComponentExtersion.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/System/HeroUI/HeroGiftEatSuccessWin.cs
@@ -58,7 +58,7 @@ { int id = PlayerPropertyConfig.basePerAttrs[i]; attrPerNameArr[i].text = PlayerPropertyConfig.Get(id).Name; nextAttrPerTextArr[i].text = PlayerPropertyConfig.GetFullDescription(id, valuePer); nextAttrPerTextArr[i].text = PlayerPropertyConfig.GetValueDescription(id, valuePer); attrPerTextArr[i].text = PlayerPropertyConfig.GetValueDescription(id, valuePer - hero.qualityConfig.StarAddPer); } Main/System/HeroUI/HeroTrainWin.cs
@@ -596,19 +596,17 @@ if (hero.heroStar >= HeroUIManager.Instance.GetMaxStarCount(hero.heroId, hero.Quality)) { starUPBtn.SetInteractable(false); starUPBtnText.text = Language.Get("HeroGift7"); starUPBtn.SetInteractable(false); } else if (hero.IsFullStar()) { starUPBtn.SetInteractable(true); starUPBtn.SetColorful(starUPBtn.GetComponentInChildren<Text>(), true); starUPBtn.interactable = true; starUPBtnText.text = Language.Get("HeroGift3"); } else { starUPBtn.SetInteractable(true); starUPBtn.SetColorful(starUPBtn.GetComponentInChildren<Text>(), true); starUPBtn.interactable = true; starUPBtnText.text = Language.Get("HeroGift3"); } Main/System/HeroUI/HeroUIManager.OnTeam.cs
@@ -148,7 +148,7 @@ { return heroA.Quality > heroB.Quality ? -1 : 1; } if (heroA.heroStar != heroA.heroStar) if (heroA.heroStar != heroB.heroStar) { return heroA.heroStar > heroB.heroStar ? -1 : 1; } @@ -295,7 +295,7 @@ { return heroA.Quality > heroB.Quality ? -1 : 1; } if (heroA.heroStar != heroA.heroStar) if (heroA.heroStar != heroB.heroStar) { return heroA.heroStar > heroB.heroStar ? -1 : 1; } Main/System/HeroUI/HeroUIManager.Reborn.cs
@@ -134,7 +134,7 @@ { return heroA.Quality < heroB.Quality ? -1 : 1; } if (heroA.heroStar != heroA.heroStar) if (heroA.heroStar != heroB.heroStar) { return heroA.heroStar < heroB.heroStar ? -1 : 1; } Main/System/HeroUI/HeroUIManager.cs
@@ -199,7 +199,7 @@ { return heroA.Quality > heroB.Quality ? -1 : 1; } if (heroA.heroStar != heroA.heroStar) if (heroA.heroStar != heroB.heroStar) { return heroA.heroStar > heroB.heroStar ? -1 : 1; } Main/Utility/ComponentExtersion.cs
@@ -256,7 +256,8 @@ } // 设置按钮是否可点击,且置灰,默认取第一个文本;图片需用ImageEx组件 // 设置按钮是否可点击,且取第一个文本组件置灰或置原色 // 要先设置文本再调用该函数 因为没有改变文本组件的颜色避免颜色被还原,同理恢复可以不用改变颜色改文字即可 // 更多功能请使用SetColorful public static void SetInteractable(this Button _btn, bool _interactable, Text _btnText = null) {