Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 void Awake()
 {
     ClientName         = string.Empty;
     ChatUI             = FindObjectOfType <bl_ChatUI>();
     ChatUI.MaxMessages = MaxMessages;
     ChatUI.ShowChat(false);
     ChatUI.ShowPlayerNameUI(true);
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 void Awake()
 {
     ClientName         = string.Empty;
     ChatUI             = FindObjectOfType <bl_ChatUI>();
     ChatUI.MaxMessages = MaxMessages;
     ChatUI.ShowChat(false);
     //Changed from false below so that disconnect from server allows player to rejoin the chat upon re-entering game
     ChatUI.ShowPlayerNameUI(false);
 }