Class ScyllaModuleWindow
Editor window that browses all Scylla modules, their lifecycle states, and dependency
relationships. Opened via Tools > Scylla > Editor > Module Browser....
Inherited Members
Namespace: Scylla.Core.Editor
Assembly: ScyllaCore.Editor.dll
Syntax
public sealed class ScyllaModuleWindow : ScyllaToolWindowBase
Remarks
The toolbar provides:
-
List / Graph - mutually exclusive
ToolbarToggles that switch between aMultiColumnListViewwith seven sortable columns (Status, Module Name, ID, Version, Tier, Priority, Deps) and a ScyllaDependencyGraphElement canvas view. - Search field - filters modules by name or ID.
- State filter dropdown - filters by ScyllaModuleState.
- Scene Only toggle - when on, only modules found in the active scene are shown; when off, all module types discovered via assembly reflection are listed.
- Details toggle - shows or hides the right-hand details panel.
- Refresh button - re-discovers modules immediately.
The details panel on the right shows the selected module's ID, Version, Tier, Priority, optional Is Enabled flag (Play mode only), description, dependency rows (with type indicator [R]/[O]/[E] and satisfaction state), and a "Select in Hierarchy" button when the module has a scene GameObject.
RecurringSafe(VisualElement, Action, long) fires every 500 ms in Play mode to keep the module state live. View mode, details toggle, and Scene Only toggle are persisted via UnityEditor.SessionState.
Methods
OnCreateGUI()
Called after the standard layout (toolbar, content, status bar) is created. Subclasses override this to add their panels and controls.
Declaration
protected override void OnCreateGUI()
Overrides
OnPlayModeStateChanged(PlayModeStateChange)
Called when the Unity Editor transitions between Edit mode and Play mode. Override to react to play-mode entry/exit (e.g. refresh runtime panels, start or stop polling schedulers, swap UI content).
Declaration
protected override void OnPlayModeStateChanged(PlayModeStateChange state)
Parameters
| Type | Name | Description |
|---|---|---|
| PlayModeStateChange | state | The new play mode state. |
Overrides
ShowWindow()
Opens the Module Browser window. If the window is already open it is focused. The minimum size is 800 x 400 px.
Declaration
public static void ShowWindow()