public void Register() { username = usernameText.text; password = passwordText.text; email = emailText.text; RequestRegister request = new RequestRegister(); request.send(username, email, password); cManager.send(request); }
public bool SendRegisterRequest(string userID, string password) { if (cManager && cManager.IsConnected()) { RequestRegister request = new RequestRegister(); request.send(userID, password); cManager.send(request); return(true); } return(false); }