Commit c08c9f47 authored by chenzihui's avatar chenzihui

1

parent 72f8022e
......@@ -497,6 +497,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.hideWhiteNode();
this.moveOutPlane();
},0.3)
console.log("答对的题目数量" + this.rightQuestion);
}
reviewFail(){
......@@ -577,6 +579,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
gameEnd(){
console.log("答对的题目数量" + this.rightQuestion);
if(this.rightQuestion >= this.data.questions.length){
this.allWinEnd.node.active = true;
this.allWinEnd.playAnimation('newAnimation', 1);
......
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