We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在ccb里面设置的是横屏的,然后使用luaproxy读取的时候是竖屏的,无论怎样设置Supported Device Ortientations 都不行
The text was updated successfully, but these errors were encountered:
这个恐怕和LuaProxy无关,因为其中并未有横竖屏的操作,只是帮你把ccbi读取的请求传给CCBReader。 iOS6.0后增加了两个设定横竖屏的函数,所以你要在你的RootViewController.mm里同时改变 shouldAutorotateToInterfaceOrientation 和 supportedInterfaceOrientations,分别用于6.0或之前的iOS系统。 Android的话,在配置文件里修改即可。
Sorry, something went wrong.
读取节点有问题,getNode一直为nil,getNodeWithType报错: argument #1 is 'class CCBProxy'; 'CCBProxy' expected. 在ccbi中我已经添加了并且设置为owner var,getNode取不到
proxy:getNode"name"如为nil,请再去检查CocosBuilder检查一下,如有大小写问题,或者前后有空格,也会导致问题,必须使用完全相同的字符串。 getNodeWithType与getNode相同,必须用CCBProxy的实例变量来操作,不过,现在可以无视这个函数,因为可以这样:tolua.cast(proxy:getNode"name")。
No branches or pull requests
在ccb里面设置的是横屏的,然后使用luaproxy读取的时候是竖屏的,无论怎样设置Supported Device Ortientations 都不行
The text was updated successfully, but these errors were encountered: