是否可以在序列样式的不同节点上运行Action?
可能是这样的:
[_parentSprite runAction: [SKAction sequence:@[actionOntheParent,
[_secondSprite runAction: otherActionOnChildMaybe], [_someSprite runAction: actionOnSomeOtherSprite]]];
答案 0 :(得分:3)
当然,您可以使用完成块嵌套操作。
[_parentSprite runAction:actionOnTheParent completion:^{
[_secondSprite runAction:otherActionOnChild completion:^{
[_someSprite runAction:actionOnSomeOtherSprite];
}];
}];