void Start() { if (!RemoveIfNeeded()) { return; } loginUserEmailValidator = loginUserEmail.GetComponent <InputFieldValidation>(); loginUserPasswordValidator = loginUserPassword.GetComponent <InputFieldValidation>(); registerUserEmailValidator = registerUserEmail.GetComponent <InputFieldValidation>(); registerUserPasswordValidator = registerUserPassword.GetComponent <InputFieldValidation>();; registerUserPasswordConfirmValidator = registerUserPasswordConfirm.GetComponent <InputFieldValidation>(); if (!string.IsNullOrEmpty(PlayerPrefs.GetString("SocialPlay_Login_UserEmail"))) { loginUserEmail.text = PlayerPrefs.GetString("SocialPlay_Login_UserEmail"); } else { loginUserEmail.text = ""; } }
void Start() { if (!RemoveIfNeeded()) { return; } loginUserEmailValidator = loginUserEmail.GetComponent<InputFieldValidation>(); loginUserPasswordValidator = loginUserPassword.GetComponent<InputFieldValidation>(); registerUserEmailValidator = registerUserEmail.GetComponent<InputFieldValidation>(); registerUserPasswordValidator = registerUserPassword.GetComponent<InputFieldValidation>(); ; registerUserPasswordConfirmValidator = registerUserPasswordConfirm.GetComponent<InputFieldValidation>(); if (!string.IsNullOrEmpty(PlayerPrefs.GetString("SocialPlay_Login_UserEmail"))) { loginUserEmail.text = PlayerPrefs.GetString("SocialPlay_Login_UserEmail"); } else { loginUserEmail.text = ""; } }