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