Exemple #1
0
 // SignUP
 public void OnButtonSignUP()
 {
     validate = CheckInDB.isFieldOk;
     if (validate == (CheckInDB.IsValidate.email | CheckInDB.IsValidate.login | CheckInDB.IsValidate.pass | CheckInDB.IsValidate.rePass))
     {
         StartCoroutine(AddNewUser(playerNameUP.text, playerEmailUP.text, playerPassUP.text));
     }
     else
     {
         setTextToConsole("Errrror validate = CheckInDB.isFieldOk ?????????");
     }
 }
Exemple #2
0
 //SignIN
 public void OnButtonSignIN()
 {
     validate = CheckInDB.isFieldOk;
     if (validate == (CheckInDB.IsValidate.email | CheckInDB.IsValidate.login))
     {
         StartCoroutine(SignInUser(playerNameIN.text, playerPassIN.text));
     }
     else
     {
         setTextToConsole("Errrror validate = CheckInDB.isFieldOk ?????????");
     }
 }