Hi, i´ve update to 3.16, and i cant add a UI Layer to a scene, i used to do this:
// 'scene' is an autorelease object
auto scene = Scene::create();
// 'layer' is an autorelease object
auto layer = HelloworldScene::create();
auto UILayer = Ui::create();
scene ->addChild(UILayer ,1);
// return the scene
But now the HelloworldScene is a Scene, not a Layer, i can add a layer, but now its a child of HelloworldScene, and its moves with it, UI doesn´t supposed to do that.
How can i do that now?, thanks
pd: i can change HelloworldScene class to public cocos2d::Layer, and its works, but probably there is a reason for be a Scene now.