docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUI.Panel

    Root panel class.

    Inheritance
    object
    DebugUI.Panel
    Implements
    DebugUI.IContainer
    IComparable<DebugUI.Panel>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class DebugUI.Panel : DebugUI.IContainer, IComparable<DebugUI.Panel>

    Constructors

    Panel()

    Constructor.

    Declaration
    public Panel()

    Properties

    children

    List of children.

    Declaration
    public ObservableList<DebugUI.Widget> children { get; }
    Property Value
    Type Description
    ObservableList<DebugUI.Widget>

    displayName

    Display name of the panel.

    Declaration
    public string displayName { get; set; }
    Property Value
    Type Description
    string

    documentationUrl

    Declaration
    public string documentationUrl { get; set; }
    Property Value
    Type Description
    string

    editorForceUpdate

    Returns true if the panel should always be updated.

    Declaration
    [Obsolete("This is no longer used. #from(6000.5)")]
    public bool editorForceUpdate { get; }
    Property Value
    Type Description
    bool

    flags

    Widget flags for this panel.

    Declaration
    public DebugUI.Flags flags { get; set; }
    Property Value
    Type Description
    DebugUI.Flags

    groupIndex

    Group index of the panel.

    Declaration
    public int groupIndex { get; set; }
    Property Value
    Type Description
    int

    isEditorOnly

    Specify if the panel is editor only.

    Declaration
    public bool isEditorOnly { get; }
    Property Value
    Type Description
    bool

    isInactiveInEditor

    Returns true if the panel is inactive in the editor.

    Declaration
    public bool isInactiveInEditor { get; }
    Property Value
    Type Description
    bool

    isRuntimeOnly

    Specify if the panel is runtime only.

    Declaration
    public bool isRuntimeOnly { get; }
    Property Value
    Type Description
    bool

    queryPath

    Path of the panel.

    Declaration
    public string queryPath { get; }
    Property Value
    Type Description
    string

    Methods

    Create(Context)

    Declaration
    public VisualElement Create(DebugUI.Context context)
    Parameters
    Type Name Description
    DebugUI.Context context
    Returns
    Type Description
    VisualElement

    OnItemAdded(ObservableList<Widget>, ListChangedEventArgs<Widget>)

    Callback used when a child is added.

    Declaration
    protected virtual void OnItemAdded(ObservableList<DebugUI.Widget> sender, ListChangedEventArgs<DebugUI.Widget> e)
    Parameters
    Type Name Description
    ObservableList<DebugUI.Widget> sender

    Sender widget.

    ListChangedEventArgs<DebugUI.Widget> e

    List of added children.

    OnItemRemoved(ObservableList<Widget>, ListChangedEventArgs<Widget>)

    Callback used when a child is removed.

    Declaration
    protected virtual void OnItemRemoved(ObservableList<DebugUI.Widget> sender, ListChangedEventArgs<DebugUI.Widget> e)
    Parameters
    Type Name Description
    ObservableList<DebugUI.Widget> sender

    Sender widget.

    ListChangedEventArgs<DebugUI.Widget> e

    List of removed children.

    SetDirty()

    Set the panel dirty.

    Declaration
    public void SetDirty()

    Events

    onSetDirty

    Callback used when the panel is set dirty.

    Declaration
    public event Action<DebugUI.Panel> onSetDirty
    Event Type
    Type Description
    Action<DebugUI.Panel>

    Implements

    DebugUI.IContainer
    IComparable<T>

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)