I'am a new learner of unity3d and NGUI.
In order to create a full function chat window, I want label can show little pictures for example :
However label in NGUI can only change the color of texts, but cannot add some ohter elements such as pictures or hyperlinks.
I tried to use a Sprite to show an image, but when calucating the position, position of this sprite is hard to location for chara has different size or other reasons which I do not figure out.
So, I want to know how to make a powerful chat window with NGUI? or can someone help me to solve this problems.
Please forgive my pool English. Thank you.
Answer by Jason Mars
Apr 11, 2014 at 11:08 AM
In NGUI3.5.6 we can make a list to show the litte pictcur with key value
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
10 People are following this question.
NGUI score counter
How can I add a 9-slice to an NGUI Progress Bar foreground sprite?
NGUI: Recommended way of hiding/showing multiple menu panels?
How to show layer over all the screen?
NGUI popup list selections calls method every frame