1.3.0: Added EditorProjectPrefs, so each project can have their own settings for history and favorites

This commit is contained in:
Anders Ejlersen 2022-01-20 20:05:25 +01:00
parent 65ca5dd355
commit c54a325cfe
7 changed files with 100 additions and 6 deletions

View file

@ -1,4 +1,5 @@
using System.Collections.Generic;
using Module.NavigationTool.Editor.Utilities;
using UnityEditor;
namespace Module.NavigationTool.Editor.Favorite
@ -39,7 +40,7 @@ namespace Module.NavigationTool.Editor.Favorite
public static void DeleteAll()
{
FAVORITES = null;
EditorPrefs.DeleteKey(Favorites.PREF_ID);
EditorProjectPrefs.DeleteKey(Favorites.PREF_ID);
}
}
}