Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


inputFieldAppearance

Returns the current visibility status of the on-screen keyboard's input field. (Read Only)
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static TouchScreenKeyboard.InputFieldAppearance inputFieldAppearance { get; }

Remarks

The input field can be always visible, always hidden, or customizable. If the input field is customizable, you can use TouchScreenKeyboard.hideInput to customize the visibility of the input field based on the requirement of your application.
Note: On Android, if your application uses the GameActivity application entry point, the input field of the on-screen keyboard is always hidden. This is because GameActivity uses Android's GameTextInput library which always keeps the input field hidden, with no option to make it visible.