在一个动作结束时执行一个函数

testSprite.runAction(cc.Sequence(cc.moveTo(x,y), cc.CallFunc(Func, this)));
cc.CallFunc  调用回调函数
posted @ 2019-11-18 16:52  流星曳尾  阅读(164)  评论(0)    收藏  举报