// 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 ?????????"); } }
//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 ?????????"); } }