From 290a2845967cbcf44e8c0a34bc434997d2c0049e Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Tue, 6 Sep 2022 14:55:52 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8F=98=E8=BA=AB=E5=8D=A1=E3=80=91?= =?UTF-8?q?=3D=3D=3D=3D=3D=3D=E8=87=AA=E9=80=89=E7=AE=B1=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/RewardBox/RewardBoxPanel.lua | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua b/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua index bbb82f49f9..71f1ec1f5e 100644 --- a/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/RewardBox/RewardBoxPanel.lua @@ -214,16 +214,16 @@ function RewardBoxPanel:SetSingleGiftData(index,item,dataList) select:GetComponent("Button").interactable = BagManager.isBagPanel select:SetActive(BagManager.isBagPanel) yihuode:SetActive(false) - if heroConfig.ItemType == ItemType.Incarnation and BagManager.isBagPanel then - local num = BagManager.GetItemCountById(dataList[index][1]) - if num > 0 or IncarnationManager.GetStatusByItemId(dataList[index][1]) >= 0 then - select:SetActive(false) - yihuode:SetActive(true) - else - select:SetActive(true) - yihuode:SetActive(false) - end - end + -- if heroConfig.ItemType == ItemType.Incarnation and BagManager.isBagPanel then + -- local num = BagManager.GetItemCountById(dataList[index][1]) + -- if num > 0 or IncarnationManager.GetStatusByItemId(dataList[index][1]) >= 0 then + -- select:SetActive(false) + -- yihuode:SetActive(true) + -- else + -- select:SetActive(true) + -- yihuode:SetActive(false) + -- end + -- end if heroConfig.ItemType == ItemType.Talisman then if heroConfig.ItemDescribe then local aaa=string.split(heroConfig.ItemDescribe,',')