【森罗音效】福星高照老头的音效,界面关闭不停
parent
529067bb2f
commit
5d57464da8
|
@ -50,6 +50,8 @@ end
|
|||
|
||||
function this.Close()
|
||||
this.root:SetActive(false)
|
||||
|
||||
SoundManager.PlaySound(SoundConfig.BGM_CarbonMap)
|
||||
end
|
||||
|
||||
function this.Destroy()
|
||||
|
|
|
@ -110,7 +110,7 @@ end
|
|||
|
||||
--设置速度
|
||||
local index = 1
|
||||
function this.tableTurnEffect()
|
||||
function this.tableTurnEffect(index)
|
||||
local red = Util.GetGameObject(this.itemsList[index],"Red")
|
||||
red:SetActive(false)
|
||||
if index == 12 then--t归零
|
||||
|
@ -121,7 +121,9 @@ function this.tableTurnEffect()
|
|||
index = index + 1
|
||||
--检测最后的奖励
|
||||
local cfg = this.TrialGameConfig[this.list[index]]
|
||||
SoundManager.PlaySound(SoundConfig.UI_Xingyunzhuanpan)
|
||||
if not index then
|
||||
SoundManager.PlaySound(SoundConfig.UI_Xingyunzhuanpan)
|
||||
end
|
||||
if stopId and stopId == cfg.Id then
|
||||
--游戏结束显示掉落
|
||||
Timer.New(function()
|
||||
|
|
Loading…
Reference in New Issue