Creating a new Editor Window | How (where) do I save field values?

Hi everyone,

I want to create a new Editor Window which shows some text input fields. I want to save the input of the fields somehow in the current Unity Project. I may also extend this to non trivial values like strings but also (JS or C#) objects.

Where could I store this? Is there a magical ‘project-instance-object’ or something like that?

Any thoughts are really appreciated, thanks a lot.

Check out EditorPrefs. It might contain what you need, else you might need to write your own data format.

probably serialization will do this.