示例#1
0
    public void Register()
    {
        username = usernameText.text;
        password = passwordText.text;
        email    = emailText.text;
        RequestRegister request = new RequestRegister();

        request.send(username, email, password);
        cManager.send(request);
    }
示例#2
0
 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);
 }