Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: devomage on June 11, 2015, 05:04:12 PM

Title: Example 12 - Chat Window
Post by: devomage on June 11, 2015, 05:04:12 PM
possible bug:

if you have two chat window's, they echo text from the other window.

it is not specifically text input - you can remove the input and come up with the same echo effect by using textlist.add(text).

i havent spent a ton of time trying to figure out what is going on...  but it appears that it is something with UITextList.

this effect can be reproduced by copy/pasting the window from example 12.  the only change in the screenshot is that i unchecked "dummy data".

Title: Re: Example 12 - Chat Window
Post by: ArenMook on June 12, 2015, 08:05:47 AM
It's supposed to. Check UITextList -- the history is a static dictionary.

If you want it to be separate, you will need to create your own text list script.