- Home /
How to open Custom VR keyboard when interacting with InputField
Hi,
I'm using this custom VR keyboard package from the Unity Asset Store: https://assetstore.unity.com/packages/tools/input-management/vrkeys-99222 This keyboard basically detects which key you hit via colliders and inputs the resulting text to a TextMeshPro text component that is connected to the keyboard.
I want to use this keyboard as a replacement for the native OS keyboard, however. Meaning: I want this keyboard to open whenever the player interacts with an input field in the world without having to hook up the keyboard and the input field every time.
So when the player clicks on any input field the keyboard should open and the text inputted via the keyboard should be sent back to the input field.
Is there any way to tell unity to use my custom keyboard as the "default" keyboard? Any interface I have to implement or events I have to respond to in my Keyboard script?
I would appreciate any help! Thank you!
Your answer