// Trying to register and account on the server public void RegisterAccount() { if (username.text == string.Empty) { Debug.Log("Please enter a username."); return; } if (password.text == string.Empty) { Debug.Log("Please enter a password."); return; } if (password.text != repeatPassword.text) { Debug.Log("Your passwords do not match!"); return; } if (!(validateCharacters(username.text) && validateCharacters(password.text))) { return; } ClientTCP.PACKAGE_NewAccount(username.text, password.text); Debug.Log("Sending Account Information to Server..."); }