From ec8fa4a8ca5a90f99398388f50bdd083bb2ccc38 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Mon, 26 Dec 2022 14:03:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AC=A7=E7=9A=87=E7=BA=A2=E5=8C=85=E6=A6=82?= =?UTF-8?q?=E7=8E=87=E6=98=BE=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Popup/RewardItemSingleShowPopup.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua index 21ecbeb214..3a368d810d 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardItemSingleShowPopup.lua @@ -405,7 +405,9 @@ function RewardItemSingleShowPopup:OnShow() elseif isBagPanel and itemConfigData.ItemType == 10 and func then this.btnSure:SetActive(true) this.btnSureText.text = Language[10195] - this.helpBtn.gameObject:SetActive(true) + if itemConfigData.HeroStar and itemConfigData.HeroStar[1]==1 then + this.helpBtn.gameObject:SetActive(true) + end elseif isBagPanel and itemConfigData.ItemType == 12 and func then-- 改名卡 this.btnSure:SetActive(true) this.btnSureText.text = Language[10195]