public static void LoadAllData()
        {
            if (IsDataLoaded)
            {
                return;
            }

            AccountDetails = LoadFromEditorPrefs <PlayFab_DeveloperAccountDetails>(PlayFab_DeveloperAccountDetails.Name);
            EnvDetails     = LoadFromEditorPrefs <PlayFab_DeveloperEnvironmentDetails>(PlayFab_DeveloperEnvironmentDetails.Name);
            EditorSettings = LoadFromEditorPrefs <PlayFab_EditorSettings>(PlayFab_EditorSettings.Name);
            EditorView     = LoadFromEditorPrefs <PlayFab_EditorView>(PlayFab_EditorView.Name);

            _IsDataLoaded = true;
            PlayFabEditor.RaiseStateUpdate(PlayFabEditor.EdExStates.OnDataLoaded, "Complete");
        }
 public static void LoadAccountDetails()
 {
     if (EditorPrefs.HasKey(keyPrefix + "PlayFab_DeveloperAccountDetails"))
     {
         var serialized = EditorPrefs.GetString(keyPrefix + "PlayFab_DeveloperAccountDetails");
         try
         {
             accountDetails = Json.JsonWrapper.DeserializeObject <PlayFab_DeveloperAccountDetails>(serialized);
             return;
         }
         catch (Exception ex)
         {
             PlayFabEditor.RaiseStateUpdate(PlayFabEditor.EdExStates.OnError, ex.Message);
         }
     }
     accountDetails = new PlayFab_DeveloperAccountDetails();
 }