Documentation

Unity Engine

Unity Engine

Default

The default keyboard layout of the target platform.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Default = 0

Remarks

An iOS example is shown below:

Examples

using UnityEngine;using UnityEngine.iOS;public class ExampleClass : MonoBehaviour{ private TouchScreenKeyboard keyboard; protected void OnGUI() { GUI.skin.button.fontSize = 36; if (GUILayout.Button("Keyboard")) { keyboard = TouchScreenKeyboard.Open("Hello", TouchScreenKeyboardType.Default); } }}