I’m programming a game where you can build bots and write their behavíour in js code. My problem with that is, that the Inputfield just gets buggy if I write over about 10 lines of code. instead of getting to the next line when I press enter, the caret just jumps Forward like with tab and I can no longer see what I’m typing. Please help me
Maybe this will help: Making a Scrollable Text Label in Unity 4.6 Tutorial - YouTube
I’m guessing that a simple text input field isn’t enough. You need some kind of textarea
I simply wrote a script wich scales the input field with GetComponent().sizeDelta depending on amount of lines in the text. now it works.