05-07-2021 03:33 AM - edited 05-24-2021 06:46 AM
05-07-2021 11:34 AM
I think the keyboard shows up whenever an input field has focus, so when you close the keyboard and the input field still has focus it gets re-summoned. You might need something like this:
private void OnEnable() {
OVRManager.InputFocusAcquired += DeactivateInputField;
}
private void OnDisable() {
OVRManager.InputFocusAcquired -= DeactivateInputField;
}
private void DeactivateInputField() {
if (inputField.isFocused) {
inputField.DeactivateInputField();
}
}
05-11-2021 05:22 AM
So in this video the keyboard is opened programmatically using TouchScreenKeyboard.Open(), when i tired to open it by clicking on an input field it works properly, also on what should i put this script??