[抽卡]=========================抽卡屏蔽开门特效
parent
8b18f5eb00
commit
f1ae5f8cba
|
@ -239,7 +239,7 @@ end
|
||||||
--界面打开时调用(用于子类重写)
|
--界面打开时调用(用于子类重写)
|
||||||
function SingleRecruitPanel:OnOpen(...)
|
function SingleRecruitPanel:OnOpen(...)
|
||||||
isJump = 0
|
isJump = 0
|
||||||
this.UI_Effect_open:SetActive(true)
|
this.UI_Effect_open:SetActive(false)
|
||||||
Sound_Recruit4 = SoundManager.PlaySound(SoundConfig.Sound_Recruit4)
|
Sound_Recruit4 = SoundManager.PlaySound(SoundConfig.Sound_Recruit4)
|
||||||
this.UI_Effect_choukaSSR:SetActive(false)
|
this.UI_Effect_choukaSSR:SetActive(false)
|
||||||
this.UI_Effect_choukaSR:SetActive(false)
|
this.UI_Effect_choukaSR:SetActive(false)
|
||||||
|
@ -309,11 +309,11 @@ end
|
||||||
local time--十连抽每次展示特效time
|
local time--十连抽每次展示特效time
|
||||||
function SingleRecruitPanel:TenOpenPanel()
|
function SingleRecruitPanel:TenOpenPanel()
|
||||||
if isFirst then --第一次进来
|
if isFirst then --第一次进来
|
||||||
this.UI_Effect_open:SetActive(true)
|
this.UI_Effect_open:SetActive(false)
|
||||||
index=1
|
index=1
|
||||||
timeNum3=0
|
timeNum3=0
|
||||||
timeNum=1.3
|
timeNum=0
|
||||||
timeNum2=4.3
|
timeNum2=0
|
||||||
else--以后每次进来
|
else--以后每次进来
|
||||||
this.UI_Effect_open:SetActive(false)
|
this.UI_Effect_open:SetActive(false)
|
||||||
index=index+1
|
index=index+1
|
||||||
|
@ -329,7 +329,7 @@ function SingleRecruitPanel:TenOpenPanel()
|
||||||
this.UI_Effect_choukaSSR:SetActive(false)
|
this.UI_Effect_choukaSSR:SetActive(false)
|
||||||
this.UI_Effect_choukaSR:SetActive(false)
|
this.UI_Effect_choukaSR:SetActive(false)
|
||||||
this.UI_Effect_choukaR: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)
|
Sound_Recruit2 = SoundManager.PlaySound(SoundConfig.Sound_Recruit2)
|
||||||
end, timeNum)
|
end, timeNum)
|
||||||
this.time:Start()
|
this.time:Start()
|
||||||
|
|
Loading…
Reference in New Issue