SpriteKit : Stop specific action by tag
问题 Is there any way to stop specific action by tag in Sprite-Kit ? [self stopActionByTag:kTagActionHeroFlapAnim]; //cocos2d [self stopActionByTag:kTagActionHeroHitAnim]; Like above Cocos2d calls, is there any way in Sprite-Kit ? SKAction *rep = [SKAction repeatActionForever:animAction]; //how to tag ? 回答1: You can use Action key to stop specific Action. You need to specify key. [sprite runAction:rep withKey:@"Move_fade_seq"]; [sprite removeActionForKey:@"Scale_fade_seq"]; 回答2: Your ability to