Class DebugExtensionsImGui
Extensions to enable the ImGui debug UI.
Inherited Members
Namespace: SadConsole.Configuration
Assembly: SadConsole.Debug.MonoGame.dll
Syntax
public static class DebugExtensionsImGui
Methods
EnableImGuiDebugger(Builder, Keys, Action<bool>, Action)
Adds a RootComponents component that uses the specified hotkey to invoke Start().
Declaration
public static Builder EnableImGuiDebugger(this Builder builder, Keys hotkey, Action<bool> openedEventHandler = null, Action closedEventHandler = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Builder | builder | The config builder. |
| Keys | hotkey | The keyboard key to start the debugger. |
| Action<bool> | openedEventHandler | An event handler that's raised when the debugger opens. |
| Action | closedEventHandler | An event handler that's raised when the debugger closes. |
Returns
| Type | Description |
|---|---|
| Builder | The config builder. |