OpenSceneToolbarOverlay

SceneView ToolbarOverlay that hosts the OpenSceneToolbarDropdown element. Registered as a persistent overlay on all SceneView windows with the ID "open-scene-overlay".

Definition

Namespace: Paragon.Editor.OpenSceneToolbar Assembly: Paragon.Editor.dll

[Overlay(typeof(SceneView), ID, NAME, true)]
public class OpenSceneToolbarOverlay : ToolbarOverlay

Inheritance: ToolbarOverlay → OpenSceneToolbarOverlay

Remarks

The overlay is registered via Unity's [Overlay] attribute with defaultDisplay: true, meaning it appears by default in the SceneView. The constructor passes the dropdown element ID to the base ToolbarOverlay, which creates and manages the OpenSceneToolbarDropdown element.

The constructor is private — Unity instantiates overlays via reflection, so external construction is not needed or allowed.

Constants

Constant
Value
Description

ID

"open-scene-overlay"

Overlay identifier for Unity's overlay system

NAME

"Open Scene"

Display name shown in the overlay menu

See Also

Last updated