1.3.0: Added EditorProjectPrefs, so each project can have their own settings for history and favorites
This commit is contained in:
parent
65ca5dd355
commit
c54a325cfe
7 changed files with 100 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue