Skip to content

DebugExtensionsImGui Class

Extensions to enable the ImGui debug UI.

C#
public static class DebugExtensionsImGui

Inheritance object

EnableImGuiDebugger(Builder, Keys, Action<bool>, Action)

Section titled “EnableImGuiDebugger(Builder, Keys, Action<bool>, Action)”

Adds a RootComponents component that uses the specified hotkey to invoke Start().

C#
public static Builder EnableImGuiDebugger(this Builder builder, Keys hotkey, Action<bool> openedEventHandler = null, Action closedEventHandler = null)

builder Builder
The config builder.

hotkey Keys
The keyboard key to start the debugger.

openedEventHandler Action<bool>
An event handler that’s raised when the debugger opens.

closedEventHandler Action
An event handler that’s raised when the debugger closes.

Builder
The config builder.