Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qwe321qwe321qwe321/unity-recent-scene-toolbar
Add Recent Scene to Unity toolbar to quickly access recent scenes.
https://github.com/qwe321qwe321qwe321/unity-recent-scene-toolbar
unity unity-editor
Last synced: 4 months ago
JSON representation
Add Recent Scene to Unity toolbar to quickly access recent scenes.
- Host: GitHub
- URL: https://github.com/qwe321qwe321qwe321/unity-recent-scene-toolbar
- Owner: qwe321qwe321qwe321
- License: mit
- Created: 2021-05-28T17:26:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-21T01:09:41.000Z (11 months ago)
- Last Synced: 2024-10-11T10:14:42.517Z (4 months ago)
- Topics: unity, unity-editor
- Language: C#
- Homepage:
- Size: 952 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
* [marijnz/unity-toolbar-extender](https://github.com/marijnz/unity-toolbar-extender)
* It is proven to work up to (at least) Unity 2021.2.
* [nukadelic/UnityEditorIcons](https://github.com/nukadelic/UnityEditorIcons)