var node= ccs.load(res.Node_json).node;
var action = ccs.load(res.Node_json).action;
node.runAction(action);
action.setFrameEventCallFunc(function(){
alert('node');//这里并没有执行
},node);
action.gotoFrameAndPlay(0,40,false);
全部帧播放结束后的回调在哪儿加呢?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
认证0级讲师