hi all,
i just checked out the newest cocos version (3.15.1),
created a new project on my mac via
cocos new MyGame -p com.MyCompany.MyGame -l cpp -d ./MyCompany
and changed this line in HelloWorldScene.cpp:
this->addChild(menu, 1);
to this
this->addChild(menu, 1);
this->removeChild(menu);
this->addChild(menu,1);
and hit the run button for the macos target.
the button is still visible as expected, but does not respond to clicks.
if i do the same thing with v3.15, the button works normal.
i think something bad happend between v3.15 and v3.15.1
best