I make some Letter program by using Unity.
For Text Input, I use TMP_Inputfield, and I need to get the line of text, because I want to make this programs respond well when I press the Enter key.
When I set the line Limit as 5, and Line Type as Multi Line NewLine, If I enter the fifth line and press the enter key, the cursor moves to the next line.
In this case, I want to deactivate TMP_Inputfield or activate next TMP_Inputfield.
In the TMP_Inputfield, Only the Line_limit could be set up, but cannot get the lines of text.
In order to deal with such cases, I want to get the lines of text. how can I get this?