0

I have a strange behaviour when using original InputField. My problem is next. I have 2 ENTER button on keyboard. The first is BIG ENTER(1), the second NUM PAD ENTER(2). enter image description here I place original unity InputField( or InputField Text Mesh Pro the same behaviour) to UI. When i press BIG ENTER caret dissapear and i have to push left mouse button to handle next line. enter image description here How to set to BIG ENTER the same behaviour in InputField like NUM PAD ENTER ?

1 Answer 1

0

Understand that focus removed help me to understand, found it when make a picture in Photoshop. Removing this code solved this problem. GL&HF

Input.GetKeyDown(KeyCode.Return)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.