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(); }