Add Recent Scene button to open the recent scenes easily. (Additive-load supported)
The maximum number is 10 by default. (By the const value in RecentSceneList.cs
)
Unity Package Manager -> Add package from git URL
https://github.com/qwe321qwe321qwe321/Unity-Recent-Scene-Toolbar.git
Since package isn't able to create scriptable object, the RecentSceneList.asset
will be created in Assets/Plugins/RecentSceneToolbar/Editor
by default. It can be anywhere you like in the project. And you should add it to .gitignore
manually to prevent tracking
-
Hook up the
EditorSceneManager.activeSceneChangedInEditMode
to record the scenes to a scriptable objectRecentSceneList.asset
.-
RecentSceneList.asset
will be generated if it doesn't exist. -
The
.gitignore
inEditor
folder is used to prevent git trackingRecentSceneList.asset
which always change when you switch scene.
-
- marijnz/unity-toolbar-extender
- It is proven to work up to (at least) Unity 2021.2.
- nukadelic/UnityEditorIcons