【变身卡】======自选箱去掉选择限制
parent
ba6ee4065d
commit
290a284596
|
@ -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,',')
|
||||
|
|
Loading…
Reference in New Issue