public void SubmitInput() { if (textInput.text != "") { clientNetworkManager.SendChatMessage(textInput.text); textInput.text = ""; } }