Add 2 custom play buttons to the Unity Toolbar to avoid keep switching scenes when testing the game. Directly play the game (the first scene in build setting) or specific scene (chose from dropdown list) by clicking those buttons without changing scene. When stop playing, scene will change back to the scene before play. Additional dropdown list for quick build scene or bookmarked scene switching without searching it.
Import this from Unity Package Manager. You can download and import it from your hard drive, or link to it from github directly.
Tested Unity version: 2021 - 2019
Please make sure following package is installed to make this package works:
- unity-toolbar-extender - 1.4.1 or above
You can also install the prerequisite package via popup window after you installed this package:
- Dropdown button of custom scene - open scene selection window
- Play custom scene button - play target scene from dropdown button
- Play game button - play the game (the first scene in build setting)
- Select custom scene (for play custom scene button)
- Bookmark/Unbookmark
- Open scene in scene view
- Select bookmark scriptable object
- Unbookmark
Please note that bookmark is stored in a bookmark scripable object in your project. Please add to .gitignore if you do not want to share it. This scriptable object will be automatucally created from Assets/Editor/CustomPlayButton/BookmarkSetting.asset
. You can also edit or reorder the list of bookmarks by modifying the scripable object directly.