Class ScyllaBootstrapEditor
UI Toolkit inspector for the ScyllaBootstrap component. Presents four collapsible sections: Configuration slots, Registered Modules, Runtime Status (Play Mode only), and Actions.
Inherited Members
Namespace: Scylla.Core.Editor
Assembly: ScyllaCore.Editor.dll
Syntax
[CustomEditor(typeof(ScyllaBootstrap))]
public sealed class ScyllaBootstrapEditor : ScyllaEditorBase
Remarks
Configuration - Five core configuration slots (Core, Logger, Event,
Time, Scene) each backed by a UnityEditor.UIElements.PropertyField plus a dynamic sub-row that reflects
the current assignment state (Using/Auto-load/Default). Sub-rows are refreshed via
TrackPropertyValue so they update in place without a full inspector rebuild.
Registered Modules - A summary header (total / valid / invalid placement counts) followed by one row per discovered ScyllaModule. Module rows are created once and reused across refresh ticks; only the row count triggers structural DOM changes. Each row shows a play-mode status indicator (ScyllaModuleStatusIndicator) or an edit-mode icon, the module name as a clickable button that selects the GameObject, and a version or state label on the right.
Runtime Status - Visible only during Play mode. Shows framework
initialization state, registered and enabled module counts, and logging status. The
foldout visibility is driven by EditorApplication.playModeStateChanged.
Actions - Validate Modules and Module Window buttons plus a hint label.
Live data in the Modules and Runtime sections is refreshed every
RUNTIME_REFRESH_INTERVAL_MS (500 ms) via RecurringSafe(VisualElement, Action, long),
which auto-pauses when the inspector detaches. The modules refresh populates
_moduleScratchList using the non-allocating
GetComponentsInChildren overload; the runtime refresh reads from the same list
without re-scanning the hierarchy.
Methods
BuildInspector(VisualElement)
Subclasses populate root with their inspector content.
The root has the shared Scylla stylesheets pre-loaded.
Declaration
protected override void BuildInspector(VisualElement root)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualElement | root | The inspector's root element. |