SystemKeyboardExample Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An example script that delegates keyboard API access either to the WMR workaround (MixedRealityKeyboard) or Unity's TouchScreenKeyboard API depending on the platform.
public ref class SystemKeyboardExample : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/SystemKeyboardExample")]
public class SystemKeyboardExample : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/SystemKeyboardExample")>]
type SystemKeyboardExample = class
inherit MonoBehaviour
Public Class SystemKeyboardExample
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourSystemKeyboardExample
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Remarks
Note that like Unity's TouchScreenKeyboard API, this script only supports WSA, iOS, and Android.
If using Unity 2019 or 2020, make sure the version >= 2019.4.25 or 2020.3.2 to ensure the latest fixes for Unity keyboard bugs are present.
Constructors
SystemKeyboardExample() |
Methods
OpenSystemKeyboard() |
Opens a platform specific keyboard. |