Commit 8c10068e authored by 章红平's avatar 章红平

提交

parents 6bfa8451 526151d7
...@@ -389,12 +389,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -389,12 +389,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
gameOver(isSuc){ gameOver(isSuc){
if(isSuc){ if(isSuc){
this.questionIndex=0; this.questionIndex=0;
this.overN.active=true; // this.overN.active=true;
let sucN=this.overN.getChildByName("suc") // let sucN=this.overN.getChildByName("suc")
let failN=this.overN.getChildByName("fail") // let failN=this.overN.getChildByName("fail")
sucN.active=true; // sucN.active=true;
failN.active=false; // failN.active=false;
// this.asyncPlayAudioByUrl("suc") // this.asyncPlayAudioByUrl("suc")
onHomeworkFinish({ onHomeworkFinish({
quesitons:this.resultQuesitons quesitons:this.resultQuesitons
......
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