Save Data for Editor Script

Hi.

I’am working on a few tools for editor. And I need to remember some user changes inside my editor window.
So how do you think, what is the best way to do this?

  1. Simply use PlayerPrefs. But in this way, all data will be cleared as soon as game will call PlayerPrefs.clear() - this is really bad

  2. Write to the text file. But where locate this file? No body want to see additional assets in the game. And I want my users to be able to move package in any folder.

Thx for any suggestions or advices.

Have a look at EditorPrefs: http://docs.unity3d.com/Documentation/ScriptReference/EditorPrefs.html

I’m more than year with Unity! How could I miss this??)))

Thx man, this is exactly what I need)