Commit 0573ea55 authored by yu's avatar yu

1

parent 13dae293
...@@ -67,6 +67,10 @@ export default class LayerBack extends cc.Component { ...@@ -67,6 +67,10 @@ export default class LayerBack extends cc.Component {
}); });
} }
playVoiceRunning() { playVoiceRunning() {
if(!this.img_npc_voice){
this.unschedule(this.playVoiceRunning)
return;
}
this.playVoiceCount++; this.playVoiceCount++;
let p1 = this.img_npc_voice.getChildByName('p1') let p1 = this.img_npc_voice.getChildByName('p1')
let p2 = this.img_npc_voice.getChildByName('p2') let p2 = this.img_npc_voice.getChildByName('p2')
......
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