// mobile backendに接続して新規会員登録
 public void signUp( string id, string mail, string pw)
 {
     NCMBUser user = new NCMBUser ();
     user.UserName = id;
     //user.Email = mail;
     user.Password = pw;
     user.SignUpAsync ((NCMBException e) => {
         if (e == null) {
             currentPlayerName = id;
         }
     });
 }
Beispiel #2
0
    // mobile backendに接続して新規会員登録 ------------------------
    public void signUp( string id, string mail, string pw )
    {
        NCMBUser user = new NCMBUser();
        user.UserName = id;
        user.Email    = mail;
        user.Password = pw;

        user.SignUpAsync((NCMBException e) => {

            if( e == null ){
                currentPlayerName = id;
                Application.LoadLevel("scTitle");
            } else {
                isError = true;
            }
        });
    }