Version: 2017.3

TouchScreenKeyboard

class in UnityEngine

マニュアルに切り替える

説明

iPhone、Android、Windows Phone、Windows Store Apps のためのキーボードインターフェースです。- その他のプラットフォームでは利用することができません。

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

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.

Windows ストアアプリ: Windows 10 のユニバーサルアプリでは、タッチスクリーンキーボードは、タッチ入力サポートがある XAML ベースのアプリケーションのみをサポートします。

Static 変数

areaキーボードで覆われているスクリーンの戻りの位置
hideInputキーボードの上にあるテキスト入力フィールドを非表示にするかどうか
isSupportedタッチスクリーンキーボードがサポートされているかどうか
visibleキーボードがスクリーン上に表示されている場合は true を返します

変数

activeキーボードを表示したり画面上の特定の位置にスライドするかどうか
canGetSelectionSpecifies whether the TouchScreenKeyboard supports the selection property. (Read Only)
done入力の処理が終了したかどうか(読み取り専用)
selectionReturns the character range of the selected text within the string currently being edited. (Read Only)
statusReturns the status of the on-screen keyboard. (Read Only)
targetDisplayキーボードを表示するディスプレイを指定
textキーボードのインプットフィールドに表示されている文字を返します
typeReturns the TouchScreenKeyboardType of the keyboard.
wasCanceled入力処理がキャンセルされたかどうか(読み取り専用)

Static 関数

Openスクリーン上に OS が提供しているネイティブのキーボードを表示します