Can't change to new string line inside my script
What i though was gonna be a easy little task, turned out to be a huge pain in the ass.
In my scene i have a couple of input fields, and when you write in them, the text also appears in another input field.
I have two varibales public Inputfield output; public Inputfield boksa;
and in update i have:
output.text = "Anamnese: " + boksa.text;
so in the "output" inputfield, i want a new line between Anamnese and boksa.text. I thought it could be done by just inserting \n.
output.text = "Anamnese: \n" + boksa.text;
Nothing really happens, and i don't get any errors. the \n doesn't show up as text, but a new line with boksa.text doesnt appear either. Ive read a lot of answers, but somehow non of them works. A lot of them was pretty old posts, and they have updated the UI.
So does anyone know why i can't get it to work? Thank you :-)