Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

TouchScreenKeyboard

class in UnityEngine

Sugiere un cambio

¡Éxito!

Gracias por ayudarnos a mejorar la calidad de la documentación de Unity. A pesar de que no podemos aceptar todas las sugerencias, leemos cada cambio propuesto por nuestros usuarios y actualizaremos los que sean aplicables.

Cerrar

No se puedo enviar

Por alguna razón su cambio sugerido no pudo ser enviado. Por favor <a>intente nuevamente</a> en unos minutos. Gracias por tomarse un tiempo para ayudarnos a mejorar la calidad de la documentación de Unity.

Cerrar

Cancelar

Cambiar al Manual

Descripción

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

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.

Variables Estáticas

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.

Variables

activeIs the keyboard visible or sliding into the position on the screen?
doneSpecifies if input process was finished. (Read Only)
targetDisplaySpecified on which display the software keyboard will appear.
textReturns the text displayed by the input field of the keyboard.
wasCanceledSpecifies if input process was canceled. (Read Only)

Funciones Estáticas

OpenOpens the native keyboard provided by OS on the screen.