admin管理员组文章数量:1290956
I am working on a mobile app for IOS and Android in Unity, it needs to swap between screen orientations, landscape to portrait, with input text in both orientations. The transition-animations in iOS and Android are awkward to get around without looking ugly, so I would rather try to keep the device in landscape orientation, rotate the portrait sections of the app by 90 degrees, and tell the game to open the portrait-mode keyboard while the device is still in landscape orientation. Input text is required in both portrait and landscape scenes, so I need to be able to choose which orientation the keyboard popup is in.
I have only worked in mobile development through unity, so I do not know if this is this possible with the operating system's specific development resources like Xcode. To my knowledge you cannot disable android's screen-reorientating animation so this may be the only way to get around it. Any pointers for scripting in Android or iOS would be appreciated as well.
本文标签:
版权声明:本文标题:unity game engine - How to change mobile keyboard orientation without changing device orientation - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741513444a2382742.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论