public void SendTextInBufferAndReset()
 {
     SendInBuffer();
     typingLogPos = game.Chat.InputLog.Count;             // Index of newest entry + 1.
     chatInputText.Clear();
     caretPos = -1;
     Dispose();
     Height = defaultHeight;
     altText.SetActive(false);
 }
Esempio n. 2
0
 public void SendTextInBufferAndReset()
 {
     SendInBuffer();
     typingLogPos = game.Chat.InputLog.Count;             // Index of newest entry + 1.
     chatInputText.Clear();
     caretPos = -1;
     Dispose();
     Height       = defaultHeight;
     originalText = null;
     altText.SetActive(false);
     game.Chat.Add(null, MessageType.ClientStatus4);
     game.Chat.Add(null, MessageType.ClientStatus5);
     game.Chat.Add(null, MessageType.ClientStatus6);
 }