Unity presets browser editor window.
Unity 2018.1 introduced Presets feature to improve editor workflow. While presets can be found via project window search, it's not possible to filter presets by type or determine preset asset validity in project window. Presets browser editor window addresses this issues and serves as central place to access all project presets.
The package is available on the openupm registry. It's recommended to install it via openupm-cli.
openupm add com.rfadeev.pumpeditor.presetsbrowser
Project supports Unity Package Manager. To install project as Git package do following:
- Close Unity project and open the
Packages/manifest.json
file. - Update
dependencies
to havecom.rfadeev.pumpeditor.presetsbrowser
package:
{
"dependencies": {
"com.rfadeev.pumpeditor.presetsbrowser": "https://github.com/rfadeev/presets-browser.git"
}
}
- Open Unity project.
Alternatively, add this repository as submodule under Assets
folder or download it and put to Assets
folder of your Unity project.
Access presets browser via Unity toolbar: Window -> Pump Editor -> Presets Browser.
Preset can be invalid if you delete the class it was referencing. To filter presets by validity use validity toolbar. Following options are supported:
All
- show all preset assets regardless of whether they are valid or not.Only Valid
- show only valid preset assetsOnly Invalid
- show only not valid preset assets
Use Filter by preset type
toggle to control filtering of listed preset assets:
- Toggle on - filter listed preset assets by target preset type selected via popup. For
Only Invalid
validity toolbar option listed preset are not filtered and type selection popup is not shown. - Toggle off - no filtering of listed preset assets by preset type
Click preset asset object field to ping object in project window. Click Select
button to select preset asset in project window.