mirror of https://github.com/axmolengine/axmol.git
commit
87677cdbd1
|
@ -62,6 +62,9 @@ var TestScene = cc.Scene.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onMainMenuCallback:function () {
|
onMainMenuCallback:function () {
|
||||||
|
if (director.isPaused()) {
|
||||||
|
director.resume();
|
||||||
|
}
|
||||||
var scene = new cc.Scene();
|
var scene = new cc.Scene();
|
||||||
var layer = new TestController();
|
var layer = new TestController();
|
||||||
scene.addChild(layer);
|
scene.addChild(layer);
|
||||||
|
|
Loading…
Reference in New Issue