Example #1
0
 private static void SendMessage(string buttonName)
 {
     if (Client.Instance.isConnected)
     {
         Log(_chatInput.GetText());
         ClientSend.Chat(Client.Instance.myId, _chatInput.GetText());
     }
     MultiplayerClient.Instance.herochat.text = _chatInput.GetText();
 }