Hi all,
I haven’t used Unity in quite a long time (pre 5.0), and with 5.4 coming out soon, what is the best way to make a text field that I can edit freely in?
Thanks
Hi all,
I haven’t used Unity in quite a long time (pre 5.0), and with 5.4 coming out soon, what is the best way to make a text field that I can edit freely in?
Thanks
Using the new Canvas system you can add an Input Field for getting user text input.
http://docs.unity3d.com/Manual/script-InputField.html
http://docs.unity3d.com/ScriptReference/UI.InputField.html
It seems like the purpose is for input/output - will it still work fine just as a text editor? I don’t really need anything to process the text, it just needs to be edited and displayed
If you don’t require the user input, a Text object would be what you’re looking for.
https://docs.unity3d.com/ScriptReference/UI.Text.html
From the UI tutorials: