简体   繁体   English

unity 3d 游戏手机键盘定制

[英]Mobile Keyboard customization for game on unity 3d

I'm developing a game for mobile devices, where i add inputfileds for login and register.我正在为移动设备开发游戏,在其中添加用于登录和注册的输入文件。 Everything is perfectly fine but when i touch on input-field to write text like(Username, password) the keyboards pops-up perfectly.一切都很好,但是当我触摸输入字段以编写诸如(用户名,密码)之类的文本时,键盘会完美弹出。

Issue: Keyboard is every large in size.问题:键盘的尺寸非常大。 I want to change height of the keyboard or should is there any approach to customize the look of keyboard??我想改变键盘的高度还是应该有什么方法来自定义键盘的外观??

I don't think there is.我不认为有。 When you are developing a native iOS app, you can define a lot of keyboard options.在开发原生 iOS 应用程序时,可以定义很多键盘选项。 But there is no keyboard API that allows you to show/listen or customize the keyboard.但是没有键盘 API 允许您显示/收听或自定义键盘。

My advice would be to make the best of suggested Unity options.我的建议是充分利用建议的 Unity 选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM