CCMenu
私は の子である にアクションを持っていますCCLayer
-彼は の子ですscroller
。(cocos2dのスクロールレイヤークラス)
これで実行中のアクションがありCCMenu
、名前とタグがあります。
私はそれを止めることができません。私がそれに到達しようとすると、null 値が表示されます。私が試してみました:
[[[CCDirector sharedDirector].runningScene getChildByTag:600] stopAction:repeat];
[[[[CCDirector sharedDirector].runningScene getChildByTag:600]getChildByTag:800 ]stopAction:repeat];
[[[CCDirector sharedDirector].runningScene getChildByTag:600] stopAllActions];
[self stopAllActions];
なし 。その行動を止めることはできません。ですべてのアクションを停止するにはどうすればよいCCScene
ですか?