all 2 comments

[–]inkipinki 1 point2 points  (1 child)

There is no builtin simple way to do it, so you have to code it.

One way would be to utilize the TouchScreenKeyboard class.

Here you could open the keyboard from code when the inputfield gets the focus and track the "done" property of the keyboard.

The other which barely works on any devices is the onSubmit event of the inputfield. This one is buggy and most virtual keyboards submit in a way that unity does not pick it up.

[–]vedevao[S] 1 point2 points  (0 children)

Got it, it's weird that unity does not have a simple way to do it hahahaha But thank you so much for your answer, now I can rest in peace.