parent
2f338e29a4
commit
20e94b546f
|
@ -356,10 +356,10 @@ function this.SetTableTurnEffect(turnType,treasureType,pos)
|
|||
this.TurnEffectReset(0.05)
|
||||
this.turnEffect:Start()
|
||||
this.thread=coroutine.start(function()
|
||||
coroutine.wait(1)--2
|
||||
this.TurnEffectReset(0.2)
|
||||
coroutine.wait(0.4)--0.8
|
||||
this.TurnEffectReset(0.4,true,pos,function()--当效果播放完毕后 从管理器取得数据
|
||||
--coroutine.wait(1)--2
|
||||
--this.TurnEffectReset(0.2)
|
||||
--coroutine.wait(0.4)--0.8
|
||||
this.TurnEffectReset(0,true,pos,function()--当效果播放完毕后 从管理器取得数据
|
||||
|
||||
local timer=Timer.New(function()
|
||||
this.DelayMaskWithBool(false)
|
||||
|
@ -388,14 +388,14 @@ function this.TurnEffectReset(turnSpeed,isStop,pos,func)
|
|||
if curTurnPos>=9 then
|
||||
curTurnPos=1
|
||||
end
|
||||
if isStop then
|
||||
if pos==curTurnPos then--如果停到对应位置
|
||||
this.turnEffect:Stop()--暂停跑马灯
|
||||
--if isStop then
|
||||
-- if pos==curTurnPos then--如果停到对应位置
|
||||
this.turnEffect:Stop()--暂停跑马灯
|
||||
if func then--回调
|
||||
func()
|
||||
end
|
||||
end
|
||||
end
|
||||
--end
|
||||
--end
|
||||
if isPlayVideo then
|
||||
SoundManager.PlaySound(SoundConfig.UI_Xingyunzhuanpan)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue