From 704dd1ffa505d8f24c1c8cd01ce595ea60b80809 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Wed, 7 Apr 2021 11:20:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8C=96=E8=99=9A=E5=9D=9B=E3=80=91?= =?UTF-8?q?=E6=9C=AA=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua b/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua index e99019b37f..938405a871 100644 --- a/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua +++ b/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua @@ -434,7 +434,7 @@ function this.SingleHeroDataShow(_go,_heroData) local progress1 = Util.GetGameObject(go.transform, "progressBg/progress1")--红 local progress2 = Util.GetGameObject(go.transform, "progressBg/progress2")--蓝 local progressText = Util.GetGameObject(go.transform, "progressBg/progressText"):GetComponent("Text") - Util.GetGameObject(go.transform, "Text"):GetComponent("Text").text = heroData.config.ReadingName + Util.GetGameObject(go.transform, "Text"):GetComponent("Text").text = GetLanguageStrById(heroData.config.ReadingName) local num = LengthOfTable(heroData.haveHeroList2)/heroData.needNum progress1:SetActive(LengthOfTable(heroData.haveHeroList2) < heroData.needNum) progress2:SetActive(LengthOfTable(heroData.haveHeroList2) >= heroData.needNum)