Commit a3f8b548 authored by liujiaxin's avatar liujiaxin

1

parent ff3ecde3
......@@ -404,6 +404,7 @@ cc.Class({
var dragonDisplay = this.logoCat.getComponent(dragonBones.ArmatureDisplay);
const state = dragonDisplay.playAnimation('end', 0);
if(window.courseware && window.courseware.closeOsmoFingerRead) {
this.isCloseOsmoFingerRead = true;
window.courseware.closeOsmoFingerRead()
}
playAudioByUrl(this.data.end_audio, () => {
......@@ -806,6 +807,11 @@ cc.Class({
});
this.gameMachineService.stopChild();
this.gameMachineService.stop();
if(window.courseware && window.courseware.closeOsmoFingerRead) {
if (this.isCloseOsmoFingerRead) {
window.courseware.closeOsmoFingerRead()
}
}
},
......
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