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 : OdinEditor

Inheritance: OdinEditorSceneGraphEditor

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

circle-exclamation

See Also

Last updated

Was this helpful?