Commit e7069b3e authored by liujiangnan's avatar liujiangnan

feat

parent 69be4f1e
......@@ -8498,7 +8498,7 @@
"__id__": 175
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 178
......
......@@ -251,19 +251,7 @@ cc.Class({
this.updateItem();
this._cup._y = this._cup.y;
this._start = cc.find('Canvas/start');
this._start.on('click', () => {
this._start.active = false;
// let audio_url = this.data.audio_url;
// if (audio_url && audio_url!=""){
// playAudioByUrl(audio_url, ()=>{
// this.playGame();
// });
// }
// else{
this.playGame();
// }
});
this.playGame();
this.node.on(cc.Node.EventType.TOUCH_START, (event) => {
if (this._touched == true)
......
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