var callback = cc.callFunc(function () {
cc.log("回调函数");
}, this);
this.action3 = cc.sequence(cc.rotateTo(0.5, 0), callback);
this.node.runAction(this.action3);
【cocos creator】动作系统回调使用
最新推荐文章于 2023-04-21 14:40:39 发布