- Home /
In-game text editor, native or NGUI
Hey guys.
I'm wondering, how would you have an in-game text editor?
Suppose I have a journal in my game where I'm free to write my own notes (think Baldur's Gate). This should allow for clicking, highlighting, copy/pasting, and so on. Pretty much like notepad or something.
Is this possible natively, or with something like NGUI? Anybody have any ideas?
I'm mainly talking Standalone but solutions for iOS / Android are also welcome.
Thanks!
Answer by fafase · Feb 10, 2014 at 06:04 AM
You can use GUI.TextArea. It works pretty much like notepad would. As simple as can be.
Answer by Jeff-Kesselman · Mar 12, 2014 at 10:07 PM
In NGUI you can have multiline editable label.
You can even put it inn a scroll pane.
Put Im stilll working out how to make it scroll properly... atm my scroll bars move it the wrong direction