Hi, I’m trying to get access to the CCBanimationManager from a custom class linked between the cocosbuilder scene and the cocos2d-x code.
In objective-c this should be easy, but it doesn’t work in Cocos2d-x (bug?) (missing feature?)
CCBAnimationManager* animationManager = self.userObject;
the same in C++ returns always a NULL value
CCBAnimationManager* anim= static_cast<CCBAnimationManager*>(node->getUserObject());
Any idea? Thanks.