Class TimeDebugOverlay
Optional MonoBehaviour that renders a small text overlay listing every registered clock plus global state. Add to any GameObject in a scene to see live time-system diagnostics during play. The overlay is OnGUI-based so it works without Canvas / TMP setup and survives any UI module configuration.
Inherited Members
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
[AddComponentMenu("Scylla/Time/Time Debug Overlay")]
public sealed class TimeDebugOverlay : MonoBehaviour
Remarks
The component is intentionally minimal - it allocates a small StringBuilder once and reuses it each frame. For richer integration (filtering, modifier-stack inspection, scheduled-event listing) a future Console-module monitor view can wrap GetDebugInfo() directly.
Release builds: the overlay works in the Editor and in development builds and switches itself off in a release build. The class is not compiled out: Scylla Core ships compiled for players, and the same binary runs in the Editor of a project that installed it as a package, where a compiled-out class would not exist.
Methods
SetVisible(bool)
Toggle whether the overlay renders this frame.
Declaration
public void SetVisible(bool visible)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | visible |