发帖前请先搜索是否有相关帖子: http://forum.cocos.com/search?q=category%3Acreator%20 ,
反馈 Bug 时请提供
- Creator 版本:1.6.0
- 目标平台:(Web / iOS / Android / 模拟器)web
- 详细报错信息,包含调用堆栈:
- 重现方式:
- 之前哪个版本是正常的(可选):
- 手机型号(可选):
- 手机浏览器(可选):
- 编辑器操作系统(可选):
- 编辑器之前是否有其它报错(可选):
偶现 Bug 请提供
- 出现概率:8%
- 额外线索:(场景节点规模 / 项目资源规模等)
onLoad: function () {
this.trainActionBegin = cc.moveTo(2, cc.p(0, -30)).easing(cc.easeOut(2));
},
playStart: function(cb){
this.node.stopAllActions();
this.node.runAction(
cc.sequence(this.trainActionBegin,
cc.callFunc(cb)
));
},
cb 是外部传入的function,可以自定义一个function(){
console.log(“进来了”);
}传进去