void shouldNotLeak(float dt) { unschedule((shouldNotLeak)); CCLayer sublayer = (CCLayer)getChildByTag(CocosNodeTestStaticLibrary.kTagSprite1); sublayer.removeAllChildrenWithCleanup(true); }
void shouldNotLeak(float dt) { unschedule((shouldNotLeak)); CCLayer sublayer = (CCLayer)getChildByTag(CocosNodeTestStaticLibrary.kTagSprite1); sublayer.removeAllChildrenWithCleanup(true); }