Skip to content

Add Recent Scene to Unity toolbar to quickly access recent scenes.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

qwe321qwe321qwe321/Unity-Recent-Scene-Toolbar

Repository files navigation

Unity-Recent-Scene-Toolbar

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)

Installation

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

How is it done

  • Hook up the EditorSceneManager.activeSceneChangedInEditMode to record the scenes to a scriptable object RecentSceneList.asset.

    • RecentSceneList.asset will be generated if it doesn't exist.

    • The .gitignore in Editor folder is used to prevent git tracking RecentSceneList.asset which always change when you switch scene.

Third parties

About

Add Recent Scene to Unity toolbar to quickly access recent scenes.

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Languages