Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Vesuvian on October 20, 2013, 07:44:13 PM
-
Hi all
Apologies if this is the wrong place; I'm currently trying to evaluate if NGUI is a technology my team will start using, and a contingency of this is the support of multiline text editing.
I've been looking at the available examples, reading forum posts and looking at Youtube videos. So far I can see that multiline text is possible by feeding "\n" into a label, but I'm struggling to find information on how good the input functionality is.
Can anyone please tell me if any of the following is supported in the latest version of NGUI?
- Moving cursor in a body of text, via mouse or arrow keys
- Highlighting text
- Copy/paste
I appreciate these may be outside the scope of NGUI. Perhaps there are extensions that implement these?
Thanks,
Ves
-
\n is not going to work as it's two characters. A newline symbol is a single character -- '\n', which is just done by hitting Enter. NGUI 3.0.3 gives the ability to move the caret and copy/paste, but there is no highlighting. There is another solution that offers all of this already as an add-on:
http://www.tasharen.com/forum/index.php?topic=5371.msg25575#msg25575
-
Thank you for your timely response Aren. The extension definitely seems to resolve my hesitations with NGUI. I've been playing with the following demo:
http://www.ninjutsugames.com/unityassets/ultimateinput/
Can you confirm that this level of control is present in 3d labels?
-
It's best you ask its author, Hjupter.
-
I bought this, but its erring on compilation.
Errors attached.
-
NGUI supports multi-line text areas natively now. Just drag in "Control - Text Area" for an example.