docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugManager

    Manager class for the Debug Window.

    Inheritance
    object
    DebugManager
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)