Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: IZLogic on January 31, 2013, 10:32:55 AM
-
Hello,
My question is in the title, for my new words game I need the keyboard will be always opened and active during the game also when the user press the Done/Enter button or touch elsewhere on the screen.
I need it because the user will write more than 1 word and I don't want the keyboard desappear and re-open all the time, but I still need to catch the word submission by return or done.
So I had a look at UIInput class and around lines 200 I found where the keyboard is opened, but I cannot understand how to stop hiding.
Could anyone please help me on this?
Thanks,
IZLogic
-
Keyboard will always hide on submit. You can give focus to another input field right after to make it pop back up, however.
Anything else -- and you will need to modify UIInput to suit your needs.
-
There should be an option in UIInput to decide this behaviour. For example in a chat or IM like application the keyboard should remain on screen after submit.
-
Anyone managed to stop hiding the keyboard on submit? Can you explain how you did that?
-
When you submit, the keyboard gets closed -- just how Unity works here. You can re-open it later. In your OnSubmit notification, set isSelected to false then back to true.
-
Hi,
I have the same issue as hexaust. Is there now a way to keep the keyboard permanently open?
Thanks,
Alex
-
Hi,
I have the same issue as hexaust. Is there now a way to keep the keyboard permanently open?
Thanks,
Alex
That's a question for Unity.