unity-history-window icon indicating copy to clipboard operation
unity-history-window copied to clipboard

Save/restore selection history to/from disk when closing and reopening Unity

Open acoppes opened this issue 3 years ago • 1 comments

Now that we are using global identifiers, we could try storing all the history serialized in a file or editor user preference when the editor is quitting or when changing from scene to scene, and then restoring it when the editor is opening or when the selection history is initialized.

acoppes avatar May 31 '21 01:05 acoppes

Just some references:

  • https://docs.unity3d.com/ScriptReference/SceneManagement.EditorSceneManager.SceneClosingCallback.html
  • https://docs.unity3d.com/ScriptReference/EditorApplication-quitting.html
  • https://forum.unity.com/threads/whats-the-usersettings-directory.754436/

acoppes avatar May 31 '21 01:05 acoppes