Skip to content

Commit

Permalink
* Updated NitroxChat (#671)
Browse files Browse the repository at this point in the history
* * Updated NitroxChat

* Updated AssetBundle
  • Loading branch information
killzoms authored and Sunrunner37 committed Jan 27, 2019
1 parent 17736d9 commit 61557dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file modified AssetBundles/chatlog
Binary file not shown.
8 changes: 5 additions & 3 deletions NitroxClient/MonoBehaviours/Gui/Chat/PlayerChatLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,15 @@ protected void Awake()

private void SetupChatMessagesComponent()
{
chatText = chatScrollRect.AddComponent<Text>();
chatText = new GameObject("ChatText").AddComponent<Text>();
chatText.transform.SetParent(chatScrollRect.transform);
chatText.font = Resources.GetBuiltinResource(typeof(Font), "Arial.ttf") as Font;
chatText.name = "ChatText";
chatText.alignByGeometry = false;
chatText.horizontalOverflow = HorizontalWrapMode.Overflow;
chatText.horizontalOverflow = HorizontalWrapMode.Wrap;
chatText.verticalOverflow = VerticalWrapMode.Truncate;
chatText.fontSize = 12;
chatText.fontSize = 17;
chatText.fontStyle = FontStyle.Bold;
chatText.lineSpacing = 0.8f;

}
Expand Down

0 comments on commit 61557dc

Please sign in to comment.