From 080f04ebbed26cc7081fd85fb89a0097feb0a771 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Wed, 27 Apr 2022 14:50:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E8=BA=AB=E5=8D=A1=E5=95=86=E5=BA=97bu?= =?UTF-8?q?g=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/View/ShopView.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Assets/ManagedResources/~Lua/View/ShopView.lua b/Assets/ManagedResources/~Lua/View/ShopView.lua index 6f3fda53df..f0a300d7f7 100644 --- a/Assets/ManagedResources/~Lua/View/ShopView.lua +++ b/Assets/ManagedResources/~Lua/View/ShopView.lua @@ -589,13 +589,13 @@ function this:ShopItemAdapter(shopItem, itemData) new.gameObject:SetActive(false) end yihuode.gameObject:SetActive(false) - if con.ItemType == ItemType.Incarnation and not isEmpty then - local num = BagManager.GetItemCountById(con.Id) - if num > 0 or IncarnationManager.GetStatusByItemId(con.Id) >= 0 then - yihuode.gameObject:SetActive(true) - Util.SetColor(bg, Color.New(0.5, 0.5, 0.5, 1)) - end - end + -- if con.ItemType == ItemType.Incarnation and not isEmpty then + -- local num = BagManager.GetItemCountById(con.Id) + -- if num > 0 or IncarnationManager.GetStatusByItemId(con.Id) >= 0 then + -- yihuode.gameObject:SetActive(true) + -- Util.SetColor(bg, Color.New(0.5, 0.5, 0.5, 1)) + -- end + -- end -- 购买事件