public void onGuestRegisterClick() { //BacktoryUser.LoginAsGuestInBackground(response => //{ // ResultText.text = response.Body.AccessToken; // Debug.Log("result set"); //}); BacktoryUser.LoginAsGuestInBackground(PrintCallBack <BacktoryUser.LoginResponse>()); }
/* * Auth */ public void onGuestLoginClick() { BacktoryUser.LoginAsGuestInBackground(response => ResultText.text = response.Successful ? "Login as guest succeeded." : "failed; " + response.Message ); }