SceneNodeDrawer
Custom Odin property drawer for SceneNode that displays the scene and its dependencies with add/remove controls.
Definition
Namespace: Paragon.Core.SceneManagement.Editor
Assembly: Paragon.Editor.dll
[DrawerPriority(0.0, 0.0, 3000.0)]
internal class SceneNodeDrawer : OdinValueDrawer<SceneNode>Inheritance: OdinValueDrawer<SceneNode> → SceneNodeDrawer
Features
Scene Display — Shows the scene reference with a read-only asset field
Dependency List — Editable list of scene dependencies
Add Button — Opens
SceneSelectMenuto add dependencies from the graphRemove Button — Removes the node from its parent (graph or dependency list)
Behavior
When rendered as a top-level node in the SceneGraph:
Shows the full scene field and dependency list
When rendered as a child dependency:
Shows only the scene asset reference (compact view)
See Also
Last updated
Was this helpful?