void Start() { if (!RemoveIfNeeded()) { return; } registerErrorLabel.text = ""; registerTab.SetActive(false); confirmationTab.SetActive(false); loginUserEmailValidator = loginUserEmail.GetComponent <InputFieldValidation>(); loginUserPasswordValidator = loginUserPassword.GetComponent <InputFieldValidation>(); registerUserEmailValidator = registerUserEmail.GetComponent <InputFieldValidation>(); registerUserPasswordValidator = registerUserPassword.GetComponent <InputFieldValidation>();; registerUserPasswordConfirmValidator = registerUserPasswordConfirm.GetComponent <InputFieldValidation>(); resendVerificationTextObject.SetActive(false); if (!string.IsNullOrEmpty(PlayerPrefs.GetString("SocialPlay_Login_UserEmail"))) { loginUserEmail.text = PlayerPrefs.GetString("SocialPlay_Login_UserEmail"); } else { loginUserEmail.text = ""; } if (!string.IsNullOrEmpty(PlayerPrefs.GetString("SocialPlay_UserGuid"))) { CloudGoodsUser userInfo = new CloudGoodsUser(PlayerPrefs.GetString("SocialPlay_UserGuid"), PlayerPrefs.GetString("SocialPlay_UserName"), PlayerPrefs.GetString("SocialPlay_UserEmail")); CloudGoods.AuthorizeUser(userInfo); RecivedUserGuid(userInfo); } }