Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么方法可以知道 cocos2d 中某个精灵是否正在运行任何动作?
检查你的精灵的运行动作的数量,例如
CCSprite* sprite = [// something here]; int actionsCount = [sprite numberOfRunningActions];