SceneGraphEditor
Custom Odin inspector for SceneGraph assets with circular dependency detection and Build Settings synchronization.
Definition
Namespace: Paragon.Core.SceneManagement.Editor
Assembly: Paragon.Editor.dll
[CustomEditor(typeof(SceneGraph))]
internal class SceneGraphEditor : OdinEditorInheritance: OdinEditor → SceneGraphEditor
Features
Scene List Management — Add/remove scenes from the graph via custom dropdown
Circular Dependency Detection — Validates scene dependencies and shows error if cycles exist
Auto Build Settings Sync — Automatically updates Build Settings when graph changes
Project Settings Panel — Accessible via
Project Settings > Scene Graph
Settings Provider
The editor registers a settings provider for easy access:
[SettingsProvider]
public static SettingsProvider CreateSceneGraphProvider()Access via Edit → Project Settings → Scene Graph.
Remarks
If circular dependencies are detected when closing the inspector, Build Settings will be cleared to prevent runtime issues.
See Also
Last updated
Was this helpful?