ドキュメント

Unity Engine

Unity Engine

Default

The default keyboard layout of the target platform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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