Well, I have a character with several CCB's files for each part that have some animation, so I want to know how can I access to each file, because with getChildByName
or if I implemented it, I'm only getting the message: CCBReader: Couldn't find member variable
.
The structure is:
-Scene
--Character / catarinaCuerpo.ccb / _catarina with Doc root var
---Head / catarinaCabeza.ccb / _catarinaCabeza with Doc root var
----Eyes / catarinaOjo.ccb / _catarinaOjo with Doc root var / the name of the timeline that I want to access is "parpadeo"
---Wings / catarinaAla.ccb / _catarinaAla with Doc root var / the name of the timeline that I want to access is "aleteo"
So, what is the way to access to this two animations with:
CCBAnimationManager* animationManagerSomething = someNode.userObject
[animationManagerSomething runAnimationsForSequenceNamed:@"animationName"];