Version: 2018.4

説明

The default keyboard layout of the target platform.

An iPhone example is shown below:

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); } } }