[抽卡]=========================抽卡屏蔽开门特效

onepiece_demo_arena
wangzhenxing 2024-01-17 17:21:29 +08:00
parent 8b18f5eb00
commit f1ae5f8cba
1 changed files with 5 additions and 5 deletions

View File

@ -239,7 +239,7 @@ end
--界面打开时调用(用于子类重写)
function SingleRecruitPanel:OnOpen(...)
isJump = 0
this.UI_Effect_open:SetActive(true)
this.UI_Effect_open:SetActive(false)
Sound_Recruit4 = SoundManager.PlaySound(SoundConfig.Sound_Recruit4)
this.UI_Effect_choukaSSR:SetActive(false)
this.UI_Effect_choukaSR:SetActive(false)
@ -309,11 +309,11 @@ end
local time--十连抽每次展示特效time
function SingleRecruitPanel:TenOpenPanel()
if isFirst then --第一次进来
this.UI_Effect_open:SetActive(true)
this.UI_Effect_open:SetActive(false)
index=1
timeNum3=0
timeNum=1.3
timeNum2=4.3
timeNum=0
timeNum2=0
else--以后每次进来
this.UI_Effect_open:SetActive(false)
index=index+1
@ -329,7 +329,7 @@ function SingleRecruitPanel:TenOpenPanel()
this.UI_Effect_choukaSSR:SetActive(false)
this.UI_Effect_choukaSR:SetActive(false)
this.UI_Effect_choukaR:SetActive(false)
this.UI_Effect_appear:SetActive(true)
this.UI_Effect_appear:SetActive(false)
Sound_Recruit2 = SoundManager.PlaySound(SoundConfig.Sound_Recruit2)
end, timeNum)
this.time:Start()