Hello,
Is there a way to get a node by name in a scene that has been designed with CocoStudio?
I am loading my scene using CCSSceneReader::sharedSceneReader()->createNodeWithSceneFile(“test.json”);
I notice that you can set an alias for each node in CocoStudio, and the alias is set in the json scene file. Can I use this alias somehow to retrieve the node?
I am currently using getChildByTag, but this is not ideal when dealing with nested nodes.
Many thanks,
Alan