auto animation = AnimationCache::getInstance()->getAnimation(str); auto animate = RepeatForever::create(Animate::create(animation)); this->runAction(animate);
现在我想要终止这个RepeatForever的动作,请问应该怎么办?
API文档中有有关的函数,如:stopAllActions()
http://api.cocos.com/cn/d3/d82/classcocos2d_1_1_node.html#ac933485f6cc2b262dcd8b13baa020a34