|
|
@@ -85,7 +85,7 @@ export default class Turnable extends cc.Component {
|
|
|
}
|
|
|
|
|
|
private async play(type) {
|
|
|
- //this.audioId = await mk.audio.playEffect("turnableplay", true);
|
|
|
+ this.audioId = await mk.audio.playEffect("turnableplay", true);
|
|
|
this.btn_close.getComponent(BtnClosePanel).block_click = true;
|
|
|
//停止转动动作
|
|
|
if(this.act_rotate)
|
|
|
@@ -127,7 +127,7 @@ export default class Turnable extends cc.Component {
|
|
|
private async playOver() {
|
|
|
mk.audio.stopEffect(this.audioId);
|
|
|
this.btn_close.getComponent(BtnClosePanel).block_click = false;
|
|
|
- //mk.audio.playEffect("turnplateDrawEnd");
|
|
|
+ mk.audio.playEffect("turnplateDrawEnd");
|
|
|
this.updateLeftTimes();
|
|
|
this.node_point.runAction(cc.blink(0.7, 3));
|
|
|
await mk.time.WaitForSeconds(0.7);
|