I included the CocosGUI.h file but I can’t create a button.
And how come?
ui::Button *button = ui::Button::create(“file_name”);
this->addchild(button);
I’ll try this when I get to home.But in the documentation It says :
auto button =Button::create(“a”,“b”,“c”);
What documentation were you looking at?
It worked.Thank you.