Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
There are two Canvas UX prefabs for input fields: MRTKUGUIInputField
and MRTKTMPInputField
. Each uses a different input field component. The MRTKUGUIInputField
component is subclassed from the Unity UI InputField, while the MRTKTMPInputField
is subclassed from the TextMeshPro TMP_InputField. The purpose of this subclassing is to add some logic to account for XR interactions and to prevent multiple input fields from being selected at once.
An example using these prefabs can be found in the InputFieldExamples
scene.