This commit is contained in:
parent
ebc8abe755
commit
10f71ed18b
@ -287,9 +287,9 @@ export class SlotMsg extends Component {
|
||||
let flyNode = instantiate(centerMulNode)
|
||||
flyNode.setPosition(centerMulNode.getPosition())
|
||||
this.node.addChild(flyNode)
|
||||
this.scheduleOnce(() => {
|
||||
// this.scheduleOnce(() => {
|
||||
AudioManager.instance.playSFX('Multi_Fly_Start')
|
||||
}, 0.1)
|
||||
// }, 0.1)
|
||||
await tweenToAsync(flyNode, centerLocalPos, 0.6);
|
||||
AudioManager.instance.playSFX('Multi_Fly_End')
|
||||
flyNode.destroy()
|
||||
@ -319,15 +319,15 @@ export class SlotMsg extends Component {
|
||||
info.multiNode.active = false;
|
||||
this.node.addChild(flyNode);
|
||||
flyNode.setPosition(sourceLocalPos);
|
||||
this.scheduleOnce(() => {
|
||||
// this.scheduleOnce(() => {
|
||||
AudioManager.instance.playSFX('Multi_Fly_Start')
|
||||
}, 0.1)
|
||||
// }, 0.1)
|
||||
|
||||
// 2.4 飞到信息栏动画
|
||||
await tweenToAsync(flyNode, centerLocalPos, 0.6);
|
||||
this.scheduleOnce(() => {
|
||||
// this.scheduleOnce(() => {
|
||||
AudioManager.instance.playSFX('Multi_Fly_End')
|
||||
}, 0.1)
|
||||
// }, 0.1)
|
||||
flyNode.destroy();
|
||||
|
||||
// 2.5 累加倍率,信息栏文本根据每个倍率到达而改变
|
||||
|
||||
Loading…
Reference in New Issue
Block a user