商店背景蒙黑处理
parent
d9f71e2f48
commit
77949c23e6
|
|
@ -592,6 +592,7 @@ function this:ShopItemAdapter(shopItem, itemData)
|
|||
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
|
||||
|
||||
|
|
|
|||
|
|
@ -577,6 +577,7 @@ function ShopViewNew:ShopItemAdapter(shopItem, itemData)
|
|||
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue