From 7f5a36cf4bf26e0bb329c85de6208e3287261fb9 Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Tue, 16 Nov 2021 16:28:36 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90ID1019177=E3=80=91=20=E3=80=90?= =?UTF-8?q?=E9=B8=BF=E8=92=99=E9=98=B5=E3=80=91=E5=85=B1=E9=B8=A3=E5=8C=BA?= =?UTF-8?q?=E4=B8=8A=E9=98=B5=E6=BF=80=E6=B4=BB=E7=A5=9E=E9=AD=82=E5=B0=86?= =?UTF-8?q?=EF=BC=8C=E4=B8=8B=E6=8B=89=E5=BF=85=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Harmony/View/HarmonyScrllow.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Harmony/View/HarmonyScrllow.lua b/Assets/ManagedResources/~Lua/Modules/Harmony/View/HarmonyScrllow.lua index 258d26fbb2..d1ddeddb37 100644 --- a/Assets/ManagedResources/~Lua/Modules/Harmony/View/HarmonyScrllow.lua +++ b/Assets/ManagedResources/~Lua/Modules/Harmony/View/HarmonyScrllow.lua @@ -102,7 +102,7 @@ function this.SingleBoxDataShow(go,boxData,index) local TimerText = Util.GetGameObject(go.transform,"Box/Empty/frame/Text"):GetComponent("Text") local AddImage = Util.GetGameObject(go.transform,"Box/Empty/frame/AddImage") local redPoint = Util.GetGameObject(go.transform,"Box/Empty/redPoint") - + local heroObj = Util.GetGameObject(go.transform,"GameObject") Util.GetGameObject(go.transform, "GameObject/proIcon"):GetComponent("Image").sprite = this.spLoader:LoadSprite("r_hero_huo 1_zh") ItemList[go] ={} ItemList[go].index = index @@ -110,6 +110,7 @@ function this.SingleBoxDataShow(go,boxData,index) ItemList[go].Empty = Empty ItemList[go].AddImage = AddImage + heroObj:SetActive(false) Empty:SetActive(true) mask:SetActive(true) lock:SetActive(true) @@ -121,6 +122,7 @@ function this.SingleBoxDataShow(go,boxData,index) if gridData.gridId <= Box then if gridData.heroId ~= "" then Empty:SetActive(false) + heroObj:SetActive(true) local data = HeroManager.GetSingleHeroData(gridData.heroId) if data then this.SingleItemDataShow(go, data) @@ -135,6 +137,7 @@ function this.SingleBoxDataShow(go,boxData,index) AddImage:SetActive(false) end Empty:SetActive(true) + heroObj:SetActive(false) mask:SetActive(false) lock:SetActive(false) redPoint:SetActive(false)