AddTextEntry() public méthode

Allows the Chatapp to add new entires to the list
public AddTextEntry ( string text ) : void
text string Text to be added
Résultat void
 /// <summary>
 /// Adds a new message to the message view
 /// </summary>
 /// <param name="text"></param>
 public void Append(string text)
 {
     if (uMessageOutput != null)
     {
         uMessageOutput.AddTextEntry(text);
     }
     Debug.Log("Chat output: " + text);
 }
 /// <summary>
 /// Adds a new message to the message view
 /// </summary>
 /// <param name="text"></param>
 private void Append(string text)
 {
     if (uOutput != null)
     {
         uOutput.AddTextEntry(text);
     }
     else
     {
         Debug.Log("Chat: " + text);
     }
 }
Exemple #3
0
 /// <summary>
 /// Adds a new message to the message view
 /// </summary>
 /// <param name="text"></param>
 private void Append(string text)
 {
     Debug.Log("chat: " + text);
     uOutput.AddTextEntry(text);
 }
Exemple #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="text"></param>
 private void Append(string text)
 {
     uOutput.AddTextEntry(text);
 }