Version: 2022.1
言語: 日本語

説明

The default keyboard layout of the target platform.

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