用户工具

站点工具


侧边栏

script:unityengine:classes:touchscreenkeyboard:touchscreenkeyboard

TouchScreenKeyboard 触摸屏键盘

class in UnityEngine

Description 描述

Interface into the native iPhone, Android, Windows Phone and Windows Store Apps on-screen keyboards - it is not available on other platforms.

连接到本机iPhone、 Android、 Windows Phone 和 Windows 应用商店应用程序屏幕键盘-不是在其他平台上可用。

This interface allows to display different types of the keyboard: ASCII, Numbers, URL, Email, and others.

此接口允许显示不同类型的键盘︰ ASCII、 数字、 URL、 电子邮件,和其他的符号。

Because the appearance of the keyboard has the potential to obscure portions of your user interface, it is up to you to make sure that parts of your user interface are not obscured when the keyboard is being displayed.

因为键盘的外形有可能掩盖你的用户界面部分,它是由你来确保您的用户界面部分的键盘在显示时不会被遮盖。

TouchScreenKeyboard.visible and TouchScreenKeyboard.area should be used to determine if the keyboard is being shown (activated) and what portion of the screen is using.

TouchScreenKeyboard.visible和TouchScreenKeyboard.area应该用于决定是否显示(激活)该键盘并且使用屏幕的哪部分。

Static Variables 静态变量

areaReturns portion of the screen which is covered by the keyboard.
返回键盘覆盖的屏幕部分。
hideInputWill text input field above the keyboard be hidden when the keyboard is on screen?
当键盘在屏幕上时,该属性将会决定是否隐藏键盘上的文本输入区域。
isSupportedIs touch screen keyboard supported.
是否支持触摸屏键盘。
visibleReturns true whenever any keyboard is completely visible on the screen.
无论任何键盘在屏幕上完全可见都返回true。

Variables 变量

activeIs the keyboard visible or sl
script/unityengine/classes/touchscreenkeyboard/touchscreenkeyboard.txt · 最后更改: 2016/08/02 05:35 (外部编辑)