Beispiel #1
0
 public static void DeactivateStore()
 {
     if (!store.isStoreCurrentActive)
     {
         return;
     }
     store.isStoreCurrentActive = false;
     store.StoreRootObject.SetActive(false);
     ContainerKeybinding.EnableKeybinding("Store");
 }
Beispiel #2
0
    void RecivedUserGuid(SPLogin.UserInfo obj)
    {
        if (autoLoginToggle != null && autoLoginToggle.value == true)
        {
            PlayerPrefs.SetString("SocialPlay_UserGuid", obj.ID.ToString());
            PlayerPrefs.SetString("SocialPlay_UserName", obj.name);
            PlayerPrefs.SetString("SocialPlay_UserEmail", obj.email);
        }

        resendVerificationTextObject.SetActive(false);
        loginErrorLabel.text = "User logged in";
        this.gameObject.SetActive(false);
        ContainerKeybinding.EnableKeybinding("Login");
    }