I’m wondering where should I put the settings file for my editor scripts.
Maybe in a file in the Application.persistentDataPath? Or in a file in the in the windows AppData directory? Or use PlayerPrefs?
I don’t think use a file in the Assets directory of a user’s project is a good idea.
Why not? Use a ScriptableObject. Also, if you do use PlayerPrefs, it would actually be EditorPrefs.
–Eric
Oh, I did not know about the EditorPrefs until just now. I’ll try it. Thank you.
Using a ScriptableObject will generate an asset file inside the Asset directory. I don’t think it is a good choice for editor-only settings.