【抽卡动画】

dev_chengFeng
zhangqiang 2021-01-28 14:00:35 +08:00
parent 9bc67febc2
commit 852121b5e3
1 changed files with 6 additions and 1 deletions

View File

@ -184,6 +184,7 @@ function SingleRecruitPanel:OnOpen(...)
this.UI_Effect_choukaR:SetActive(false) this.UI_Effect_choukaR:SetActive(false)
this.UI_Effect_appear:SetActive(false) this.UI_Effect_appear:SetActive(false)
this.rolePanel:SetActive(false) this.rolePanel:SetActive(false)
this.jumpBtnGo:SetActive(false)
local data={...} local data={...}
heroData=data[1] heroData=data[1]
type=data[2] type=data[2]
@ -194,7 +195,11 @@ function SingleRecruitPanel:OnShow()
isFirst=true isFirst=true
maxTimesId=lotterySetting[type].MaxTimes --特权上限ID maxTimesId=lotterySetting[type].MaxTimes --特权上限ID
index=0 index=0
this.jumpBtnGo:SetActive(true) if recruitType[1] == RecruitType.XiangYaoSingle or recruitType[1] == RecruitType.XiangYaoTen then
this.jumpBtnGo:SetActive(false)
else
this.jumpBtnGo:SetActive(true)
end
if state==1 then --单抽 if state==1 then --单抽
if lotterySetting[type].LotteryType == 11 then if lotterySetting[type].LotteryType == 11 then
isFirst=false isFirst=false