Sometimes when you are working on a specific feature or a part of a level inside a scene, and you want to tweak see it between Editor/Play time, unity always reset the hierarchy expand from all the items? Scene Keeper is here to rescue! Scene Keeper stores the hierarchy status for each scene, keeping exactly as you left before switching scenes/playing the game/editing the game. Stop losing your flow searching for things!
- Store hierarchy state for all the items between play/editor mode
- Also store when regularly editing multiple scenes, you always gonna see it how you left it.
- Save your last selection on the scenes
- Force especific game objects to be expanded all the time by
Right Click/Scene Keeper/Always Expanded
Thats the cool part about it, you don't have to do anything, after adding the package to your project every time a scene is opened / closed all the expanded items and selection will be restored.
If its annoying for some reason, or someone don't want to use on your project you can quickly disable it by the menu Tools/Scene Keeper/Hierarchy/Keep Hierarchy
, this will disable it.
For sure the options is there on the same menu Tools/Scene Keeper/Selection/Keep Selection
Yes! If you don't want your selection be stored from runtime you can disable it here Tools/Scene Keeper/Selection/Ignore Playtime Selection
, so seleciton will be only stored / restored at editor time.
Unity 2018.4.0 or later versions
Add from OpenUPM | via scoped registry, recommended
This package is available on OpenUPM: https://openupm.com/packages/com.brunomikoski.scenekeeper
To add it the package to your project:
- open
Edit/Project Settings/Package Manager
- add a new Scoped Registry:
Name: OpenUPM URL: https://package.openupm.com/ Scope(s): com.brunomikoski
- click Save
- open Package Manager
- click +
- select Add from Git URL
- paste
com.brunomikoski.scenekeeper
- click Add
Add from GitHub | not recommended, no updates :(
You can also add it directly from GitHub on Unity 2019.4+. Note that you won't be able to receive updates through Package Manager this way, you'll have to update manually.
- open Package Manager
- click +
- select Add from Git URL
- paste
https://github.com/brunomikoski/SceneKeeper.git
- click Add