Commit d619219d authored by Li MingZhe's avatar Li MingZhe

feat: 添加泡泡点击发音

parent 1a916d35
......@@ -625,7 +625,12 @@ cc.Class({
this.bubble = spr.node;
this.bubbleJump(this.bubble);
this.bubble.active = false;
this.bubble.on(cc.Node.EventType.TOUCH_START, (e) => {
playAudioByUrl(this.curGroup.bubble_audio_url);
},)
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment