Scene Switcher Tool for Unity
Overview
The Scene Switcher Tool is a custom Unity Editor tool designed to simplify the process of switching between scenes during development. It allows users to quickly switch to any scene in the build settings, load scenes additively, and bookmark frequently used scenes for easy access.
Features
- Search Scenes: Quickly find scenes using the search bar.
- Toggle Scenes: Select a scene using toggle buttons with icons.
- Play Scene: Play the selected scene.
- Load Scene Additively: Load the selected scene additively.
- Load Scene Without Playing: Load the selected scene without entering play mode.
- Bookmark Scenes: Bookmark frequently used scenes for easy access.
How to Use
-
Open the Scene Switcher Tool:
- Go to
Tools > Scene Switcher Toolin the Unity Editor menu.
- Go to
-
Search for a Scene:
- Use the search bar at the top of the tool window to filter scenes by name.
-
Select a Scene:
- Click the toggle button next to the scene name. The button has an icon for better visibility.
- Only one scene can be selected at a time.
-
Play the Scene:
- Click the "Play" button to open the selected scene and enter play mode.
-
Load the Scene Additively:
- Click the "Additive" button to load the selected scene additively.
-
Load the Scene Without Playing:
- Click the "Load" button to open the selected scene without entering play mode.
-
Bookmark a Scene:
- Click the "Bookmark" button to add the selected scene to the bookmarked scenes list.
- Bookmarked scenes are saved and will be available the next time you open the tool.
UI Layout
-
Scenes in Build:
- A list of all scenes in the build settings, displayed with toggle buttons and icons.
-
Bookmarked Scenes:
- A list of bookmarked scenes for quick access.
-
Action Buttons:
- Play:
d_PlayButtonicon - Load Additively:
d_Toolbar Plus Moreicon - Load:
d_Refreshicon - Bookmark:
Favoriteicon
- Play:
Screenshots
Main Tool Window
Open Tool
Search Buttons
Installation
Manual Way For Better Customization
- Download the
SceneSwitcherTool.csscript from the repository. - Place the script in the
Editorfolder of your Unity project. - Open Unity and the tool should be accessible from the menu:
Tools > Scene Switcher Tool.
UPM Git Clone
-
Open Unity and go to
Window > Package Manager. -
Click the
+icon in the top left corner and chooseAdd package from git URL.... -
Enter the Git URL of the repository
https://github.com/billtruong003/SceneSwitcherToolUnity -
Unity will download and install the tool directly from the Git repository.
Download .UnityPackageVersion
- Download the
.unitypackageversion of Scene Switcher Tool from the releases page of the repository or the provided link. - In Unity, go to
Assets > Import Package > Custom Package. - Select the downloaded
.unitypackagefile and import it into your project. - The tool will be available under the
Tools > Scene Switcher Toolmenu.
