From 2d8cf57a08c16990d8b170a3dbcf3e5987219275 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Mon, 18 Jan 2021 15:11:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=BD=A6=E8=BF=9F=E6=96=97=E6=B3=95?= =?UTF-8?q?=E3=80=91=E6=88=98=E6=96=97=E5=90=8Ebug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Popup/RewardItemPopup.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua index e97278b890..63d9392521 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemPopup.lua @@ -147,6 +147,10 @@ function RewardItemPopup:OnOpen(...) this.btnResult:SetActive(haveRecord and args[5]) this.btnBattleBack:SetActive(haveRecord and args[5] and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.MAP_FIGHT and not GuideManager.IsInMainGuide()) this.btnResultMax:SetActive(haveRecord and args[5]) + this.expeditionGo:SetActive(compShowType == 5) + this.guildDeathPos:SetActive(compShowType == 4) + this.guildTranscript:SetActive(compShowType == 6) + this.guildCarDelay:SetActive(compShowType == 3) -- 设置背景遮罩的显隐 local isHideBG = args[6] this.btnBack:GetComponent("Image").color = Color.New(0, 0, 0, isHideBG and 0 or 0.8) @@ -160,10 +164,6 @@ function RewardItemPopup:OnOpen(...) end return end - - this.expeditionGo:SetActive(compShowType == 5) - this.guildDeathPos:SetActive(compShowType == 4) - this.guildTranscript:SetActive(compShowType == 6) if compShowType == 4 then this.GuildDeathPosShow() end