Class DebugManager
Manager class for the Debug Window.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public sealed class DebugManager
Fields
| Name | Description |
|---|---|
| refreshEditorRequested | Force an editor request. |
Properties
| Name | Description |
|---|---|
| displayEditorUI | Is the debug editor window open. |
| displayPersistentRuntimeUI | Displays the persistent runtime debug window. |
| displayRuntimeUI | Displays the runtime version of the debug window. |
| enableRuntimeUI | Controls whether runtime UI can be enabled. When this is set to false, there will be no overhead from debug GameObjects or runtime initialization. |
| instance | Global instance of the DebugManager. |
| isAnyDebugUIActive | Is any debug window or UI currently active. |
| panels | List of currently registered debug panels. |
Methods
| Name | Description |
|---|---|
| FindPanelIndex(string) | Find the index of the panel from it's display name. |
| GetItem(string) | Get a Debug Item. |
| GetItems(Flags) | Gets an DebugUI.Widget matching the given DebugUI.Flags |
| GetPanel(string, bool, int, bool) | Returns a debug panel. |
| GetState() | Get hashcode state of the Debug Window. |
| PanelIndex(string) | Returns the panel index |
| ReDrawOnScreenDebug() | Request the runtime debug UI be redrawn on the next update. |
| RefreshEditor() | Refresh the debug window. |
| RegisterData(IDebugData) | Register debug data. |
| RemovePanel(string) | Remove a debug panel. |
| RemovePanel(Panel) | Remove a debug panel. |
| RequestEditorWindowPanelIndex(int) | Request DebugWindow to open the specified panel. |
| Reset() | Reset the debug window. |
| ToggleEditorUI(bool) | Toggle the debug window. |
| UnregisterData(IDebugData) | Register debug data. |
Events
| Name | Description |
|---|---|
| onDisplayRuntimeUIChanged | Callback called when the runtime UI changed. |
| onSetDirty | Callback called when the debug window is dirty. |