【易经宝库】全部领完后 切换最终奖励点击奖池预览报错修复
(cherry picked from commit cfeabacca5df3645e1cf4f6e68558f15a3bfb025)dev_chengFeng
parent
4fa66650f0
commit
46b8e52524
|
@ -121,11 +121,18 @@ function YiJingBaoKu:Refresh()
|
|||
YiJingBaoKu:TimeCountDown()--时间
|
||||
YiJingBaoKu:AddBackToFrontClick()--增加背面的带点击事件
|
||||
trigger = true
|
||||
this.refrashBtn:SetActive(ActData.selectId ~= 0)
|
||||
this.addBtn:GetComponent("Button").enabled = ActData.selectId == 0
|
||||
this.name.text = "第"..NumToSimplenessFont[ActData.curLevel].."层"
|
||||
this.tip2.text = "点击格子挖取宝物"
|
||||
|
||||
local t1 = true
|
||||
for i = 1, #ActData.finalCardDatas do
|
||||
if ActData.selectId == ActData.finalCardDatas[i].rewardId then
|
||||
t1 = false
|
||||
end
|
||||
end
|
||||
this.refrashBtn:SetActive((ActData.selectId ~= 0) and t1)
|
||||
|
||||
end
|
||||
|
||||
function YiJingBaoKu:SetCardData()
|
||||
|
|
|
@ -60,7 +60,7 @@ function this:OnShow(_parent,...)
|
|||
end
|
||||
finalReward:OnOpen(false, BlessingConfig[ActData.selectId].Reward, 1.1, false, false, false, sortingOrder)
|
||||
|
||||
--
|
||||
--检查是否已经全部领完了
|
||||
local t1 = false
|
||||
for i = 1, #ActData.finalCardDatas do
|
||||
if ActData.selectId == ActData.finalCardDatas[i].rewardId then
|
||||
|
|
Loading…
Reference in New Issue