cc.Class({
extends: cc.Component,
properties: {
},
onLoad () {
var time = (2.111111112155).toFixed(2);
console.log("直接加载:",time);
this.moveNode = this.node.getChildByName("moveNode");
this.moveFun();
},
moveFun () {
var time = (2.111111112155).toFixed(2);
console.log("间接加载:",time);
var anim =cc.scaleTo(time, 1, 1);
this.moveNode.runAction(anim);
},
});
cocos版本1.9.3
浏览器是好着的
模拟器会黑屏


