
gameOver: function(player){
if(player==0){
cc.director.loadScene('WinScene');
}
if(player==1){
cc.director.loadScene('LoseScene');
}
},
那个WinScene可以跳转,但是LoseScene会报错
loadScene: Can not load the scene ‘LoseScene’ because it was not in the build settings before playing.
想问问怎么修改