OpenSceneToolbar

SceneView overlay toolbar that provides a dropdown for quickly opening scenes. Features bookmarked scenes (persisted via EditorPrefs), an edit mode for managing bookmarks, and context menu support for opening scenes with dependencies or additively.

Architecture

spinner

Data Flow

spinner

Classes

Class
Description

SceneView ToolbarOverlay that registers the dropdown element

EditorToolbarDropdown button with Paragon icon, disables during play mode

EditorWindow popup with bookmark and scene list views, edit mode, and persistence

Quick Lookup

Goal
How

Open the toolbar

Enable "Open Scene" overlay in SceneView overlay menu

Open a scene

Left-click a bookmarked scene

Open with options

Right-click a scene for context menu (dependencies, additive)

Manage bookmarks

Click the options gear icon to toggle edit mode

Add a bookmark

In edit mode, click "+" next to a scene in the scene list

Remove a bookmark

In edit mode, click "-" next to a bookmarked scene

Persistence

Bookmarks are stored as comma-separated scene GUIDs in EditorPrefs under the key "OpenSceneToolbarBookmarks". They persist across Unity sessions and are user-specific (not shared via version control).

See Also

Last updated