lua中bgimg:addChild(infotx,1,‘test’) infotx是create的一个控件,添加到bgimg上,使用addChild(Node* child, int localZOrder, const std::string &name); 但是会报一个错
error:
cc.Node:addChild argument #4 is ‘string’; ‘number’ expected.
不知道是我使用的方式不对嘛
lua中bgimg:addChild(infotx,1,‘test’) infotx是create的一个控件,添加到bgimg上,使用addChild(Node* child, int localZOrder, const std::string &name); 但是会报一个错
error:
cc.Node:addChild argument #4 is ‘string’; ‘number’ expected.
不知道是我使用的方式不对嘛
是会报一下 但是不影响程序继续运行的吧, 我这边也是 正常用