Commit 3a62707a authored by wangxin's avatar wangxin

Update Scene.js

parent 31f6f823
...@@ -224,6 +224,11 @@ cc.Class({ ...@@ -224,6 +224,11 @@ cc.Class({
this.options.addChild(op); this.options.addChild(op);
} }
var self = this;
this.scheduleOnce(function () {
self.options.node.getComponent(cc.Layout).enabled = false;
}, 0.1);
cc.audioEngine.playEffect(this.openMusic, false); cc.audioEngine.playEffect(this.openMusic, false);
}, },
......
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