Turn off TouchScreenKeyboard for TextBox in Unity
Hi,
I try to find where in the Unity binding of NoesisGUI the TouchScreenKeyboard.Open() function is called so that I can tweak this piece of code to prevent Unity from opening the TouchScreenKeyboard on Android or iOS. I plan to create my own little Keyboard with Noesis so I won't need the TouchScreenKeyboard from Unity.
How do I prevent Unity/Noesis from opening the TouchScreenKeyboard in Unity when a TextBox gets focus?
Thanks for helping.
Greetings
Danilo
I try to find where in the Unity binding of NoesisGUI the TouchScreenKeyboard.Open() function is called so that I can tweak this piece of code to prevent Unity from opening the TouchScreenKeyboard on Android or iOS. I plan to create my own little Keyboard with Noesis so I won't need the TouchScreenKeyboard from Unity.
How do I prevent Unity/Noesis from opening the TouchScreenKeyboard in Unity when a TextBox gets focus?
Thanks for helping.
Greetings
Danilo
Re: Turn off TouchScreenKeyboard for TextBox in Unity
NoesisUnity.cs is installing a software keyboard callback in NoesisUnity.Init() by doing
Just commeting out that line will prevent Unity from opening the TouchScreenKeyboard
Code: Select all
Noesis.GUI.SetSoftwareKeyboardCallback(SoftwareKeyboard);
Re: Turn off TouchScreenKeyboard for TextBox in Unity
Hi jsantos,
thanks for the quick response. I was looking in the wrong c#-file. I tried to find something related to the TextBox but couldn't find it there.
Thanks a lot.
thanks for the quick response. I was looking in the wrong c#-file. I tried to find something related to the TextBox but couldn't find it there.
Thanks a lot.
Re: Turn off TouchScreenKeyboard for TextBox in Unity
You welcome! Happy to help.
Who is online
Users browsing this forum: No registered users and 5 guests