【变身卡】======自选箱去掉选择限制
parent
ba6ee4065d
commit
290a284596
|
@ -214,16 +214,16 @@ function RewardBoxPanel:SetSingleGiftData(index,item,dataList)
|
||||||
select:GetComponent("Button").interactable = BagManager.isBagPanel
|
select:GetComponent("Button").interactable = BagManager.isBagPanel
|
||||||
select:SetActive(BagManager.isBagPanel)
|
select:SetActive(BagManager.isBagPanel)
|
||||||
yihuode:SetActive(false)
|
yihuode:SetActive(false)
|
||||||
if heroConfig.ItemType == ItemType.Incarnation and BagManager.isBagPanel then
|
-- if heroConfig.ItemType == ItemType.Incarnation and BagManager.isBagPanel then
|
||||||
local num = BagManager.GetItemCountById(dataList[index][1])
|
-- local num = BagManager.GetItemCountById(dataList[index][1])
|
||||||
if num > 0 or IncarnationManager.GetStatusByItemId(dataList[index][1]) >= 0 then
|
-- if num > 0 or IncarnationManager.GetStatusByItemId(dataList[index][1]) >= 0 then
|
||||||
select:SetActive(false)
|
-- select:SetActive(false)
|
||||||
yihuode:SetActive(true)
|
-- yihuode:SetActive(true)
|
||||||
else
|
-- else
|
||||||
select:SetActive(true)
|
-- select:SetActive(true)
|
||||||
yihuode:SetActive(false)
|
-- yihuode:SetActive(false)
|
||||||
end
|
-- end
|
||||||
end
|
-- end
|
||||||
if heroConfig.ItemType == ItemType.Talisman then
|
if heroConfig.ItemType == ItemType.Talisman then
|
||||||
if heroConfig.ItemDescribe then
|
if heroConfig.ItemDescribe then
|
||||||
local aaa=string.split(heroConfig.ItemDescribe,',')
|
local aaa=string.split(heroConfig.ItemDescribe,',')
|
||||||
|
|
Loading…
Reference in New Issue