I have been stuck in this problem for a long time and I am not sure what I have to do. I would appreciate any help.
I am creating an Android application using
Unity. In my application I have a
TMP_InputField to be precise, in my Unity scene as
Prefab. I want to edit this input field by clicking a button on my Android UI (not part of the Unity scene). I don't want the input field to be editable by clicking on the input field itself.
To achieve this, I enabled the option Hide soft keyboard in the editor so that the user cannot edit the field by clicking on the field. But I can't find out how to edit the input field.
The first problem is how to open the keyboard when I click on the Android button. I tried this
The keyboard appears, but the input field does not show the cursor and does not accept the input.
I also tried
But there is no success. I tried to play with him
activated properties but nothing works.
This should be easy, but I can't make it work. I would really appreciate any help. Thank you!