- Home /
GUI Chat. Why does chat message go to the next line after name?
Hello i've got a problem in my chat. Here it is: http://piclair.com/0pk04 As you can see, the first message was demonstrated as needed. Here's my code:
for (int i = chatHistory.Count - 1, a = chatHistoryNames.Count - 1; i >= 0 && a >= 0; i--, a--) {
GUILayout.Label (chatHistoryNames [a] + " : " + chatHistory [i], GUILayout.Width (Screen.width / 3.6f));}
Any help appriciated :)
Comment
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Trying to draw a GUI 1 Answer
GUI Label on GameObject Problem 1 Answer
GUI.Label positioning for many device resolutions 1 Answer
network GUI not working 1 Answer