Esempio n. 1
0
 /// <summary>
 /// Called when register fails (user already exists)
 /// </summary>
 /// <param name="www"></param>
 private void OnRegisterFailure(string error, RegisterResponse response, UnityWebRequest www)
 {
     RegisterComponents.Text.text = "User already exists!";
     Debug.Log("user already exists");
 }
Esempio n. 2
0
 /// <summary>
 /// Called when register fails (user already exists)
 /// </summary>
 /// <param name="www"></param>
 private void OnRegisterFailure(string error, RegisterResponse response, UnityWebRequest www)
 {
     SetNotificationText("User already exists!");
     Debug.Log("user already exists");
 }
Esempio n. 3
0
 /// <summary>
 /// Called when register succeeded
 /// </summary>
 /// <param name="www"></param>
 /// <param name="response"></param>
 private void OnRegisterSuccess(RegisterResponse response, UnityWebRequest www)
 {
     RegisterComponents.Text.text = "Register successful!";
     Debug.Log("success " + response.success);
     EmitEvent("register", RegisterComponents.UsernameInput.text);
 }
Esempio n. 4
0
 /// <summary>
 /// Called when register succeeded
 /// </summary>
 /// <param name="www"></param>
 /// <param name="response"></param>
 private void OnRegisterSuccess(RegisterResponse response, UnityWebRequest www)
 {
     SetNotificationText("Register successful!");
     Debug.Log("success " + response.success);
 }