cc.director.loadScene("new", function(){
cc.info("开始执行");
//var jb = cc.director.getSence().getComponent("cs");
var canvasNode = cc.director.getScene().getChildByName('Canvas');
canvasNode.getComponent("ce").cs()
cc.info("难道没执行");
});
cc.director.loadScene("new", function(){
cc.info("开始执行");
//var jb = cc.director.getSence().getComponent("cs");
var canvasNode = cc.director.getScene().getChildByName('Canvas');
canvasNode.getComponent("ce").cs()
cc.info("难道没执行");
});