From c66cd98958f097ca15bb5434a8795f6c8aab407a Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Tue, 6 Jul 2021 14:53:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8C=96=E8=99=9A=E5=9D=9B=E3=80=91?= =?UTF-8?q?=E7=A5=9E=E5=B0=86=E5=90=88=E6=88=90=E6=9D=90=E6=96=99=E6=A1=86?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E9=9A=90=E8=97=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua b/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua index 325ed731fe..c24a2bd330 100644 --- a/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua +++ b/Assets/ManagedResources/~Lua/Modules/CompoundHero/view/CompoundHero_Compound.lua @@ -186,6 +186,9 @@ function this.UpdateHeroUpStarData(_curUpStarData) if _curUpStarData then upStarConsumeMaterial={} upStarMaterialIsAll = {} + for i = 2, #needHeros do + needHeros[i]:SetActive(false) + end for i = 1, #_curUpStarData.upStarMaterialsData do local upStarMaterialsData = _curUpStarData.upStarMaterialsData[i] local curUpStarData = _curUpStarData.upStarData[i]