Hi all, why all node and layer need resume when i add them to main layer.
My code steps:
- create scene class - push that scene to replaceScene
- create layer class
- addchild layer class to scene
- create a lot of node classes like sprites and add them to layer
- they didn’t catch touch events untill i write node->resume() to ALL created nodes
- same problem with animation - i create armature animation into onEnterTransitionDidFinish and animation showed but not frames changed at all. If i add that code to Scene class - all works.
Why it is all? Help me)