玲珑宝镜音效修改提交
parent
916230ead6
commit
5555f33715
|
@ -120,7 +120,6 @@ function LingLongBaoJingPanel:BindEvent()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Util.AddClick(self.propBtn, function()
|
Util.AddClick(self.propBtn, function()
|
||||||
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_kaiqi_002)
|
|
||||||
if not self.enough then
|
if not self.enough then
|
||||||
PopupTipPanel.ShowTip("道具不足")
|
PopupTipPanel.ShowTip("道具不足")
|
||||||
return
|
return
|
||||||
|
@ -132,6 +131,7 @@ function LingLongBaoJingPanel:BindEvent()
|
||||||
end
|
end
|
||||||
self:DelayMaskWithBool(true)
|
self:DelayMaskWithBool(true)
|
||||||
self.fx_linglongbaojing_kaiqi.gameObject:SetActive(true)
|
self.fx_linglongbaojing_kaiqi.gameObject:SetActive(true)
|
||||||
|
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_kaiqi_002)
|
||||||
-- local drop = {}
|
-- local drop = {}
|
||||||
-- drop.itemlist = {}
|
-- drop.itemlist = {}
|
||||||
-- local idList = {1,1}
|
-- local idList = {1,1}
|
||||||
|
@ -173,7 +173,7 @@ function LingLongBaoJingPanel:BindEvent()
|
||||||
self.Btncoroutine = coroutine.start(function()
|
self.Btncoroutine = coroutine.start(function()
|
||||||
self.itemList[2][1].effect.gameObject:SetActive(true)
|
self.itemList[2][1].effect.gameObject:SetActive(true)
|
||||||
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_longsaoguang_006)
|
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_longsaoguang_006)
|
||||||
coroutine.wait(0.4)
|
coroutine.wait(1)
|
||||||
self.fx_linglongbaojing_longchuxian.gameObject:SetActive(true)
|
self.fx_linglongbaojing_longchuxian.gameObject:SetActive(true)
|
||||||
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_longpanxuan_005)
|
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_longpanxuan_005)
|
||||||
coroutine.wait(1)
|
coroutine.wait(1)
|
||||||
|
@ -247,14 +247,11 @@ function LingLongBaoJingPanel:OnShow(_sortingOrder)
|
||||||
self:SetTime()
|
self:SetTime()
|
||||||
self:SetLayer()
|
self:SetLayer()
|
||||||
self.fx_linglongbaojing_chuxian.gameObject:SetActive(true)
|
self.fx_linglongbaojing_chuxian.gameObject:SetActive(true)
|
||||||
|
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_gaoguang_huaban_001)
|
||||||
Timer.New(function()
|
Timer.New(function()
|
||||||
self.fx_linglongbaojing_long.gameObject:SetActive(true)
|
self.fx_linglongbaojing_long.gameObject:SetActive(true)
|
||||||
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_gaoguang_huaban_001)
|
SoundManager.PlaySound(SoundConfig.Audio_linglongbaojing_lianhuaxiazhui_003)
|
||||||
end,0.5):Start()
|
end,0.5):Start()
|
||||||
Timer.New(function()
|
|
||||||
SoundManager.PlaySound(SoundConfig.STORY_VOICE_1_5)
|
|
||||||
end,1):Start()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function LingLongBaoJingPanel:SetLayer()
|
function LingLongBaoJingPanel:SetLayer()
|
||||||
|
@ -394,8 +391,8 @@ function LingLongBaoJingPanel:SetTableTurnEffect(turnType,treasureType,pos,func)
|
||||||
self:TurnEffectReset(0.5,treasureType)
|
self:TurnEffectReset(0.5,treasureType)
|
||||||
self.turnEffect:Start()
|
self.turnEffect:Start()
|
||||||
elseif turnType==TableTurnType.Expedite then --抽奖旋转 至指定位置
|
elseif turnType==TableTurnType.Expedite then --抽奖旋转 至指定位置
|
||||||
|
|
||||||
self.thread = coroutine.start(function()
|
self.thread = coroutine.start(function()
|
||||||
|
coroutine.wait(1)--2
|
||||||
self:TurnEffectReset(0.05,treasureType)
|
self:TurnEffectReset(0.05,treasureType)
|
||||||
coroutine.wait(2)--2
|
coroutine.wait(2)--2
|
||||||
self:TurnEffectReset(0.2,treasureType)
|
self:TurnEffectReset(0.2,treasureType)
|
||||||
|
|
Loading…
Reference in New Issue