docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUI.Widget

    Base class for all debug UI widgets.

    Inheritance
    object
    DebugUI.Widget
    DebugUI.Button
    DebugUI.Container
    DebugUI.Field<T>
    DebugUI.MessageBox
    DebugUI.Value
    DebugUI.ValueTuple
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public abstract class DebugUI.Widget

    Fields

    isHiddenCallback

    Optional delegate that can be used to conditionally hide widgets at runtime (e.g. due to state of other widgets).

    Declaration
    public Func<bool> isHiddenCallback
    Field Value
    Type Description
    Func<bool>

    m_Panel

    Panels containing the widget.

    Declaration
    protected DebugUI.Panel m_Panel
    Field Value
    Type Description
    DebugUI.Panel

    m_Parent

    Parent container.

    Declaration
    protected DebugUI.IContainer m_Parent
    Field Value
    Type Description
    DebugUI.IContainer

    Properties

    displayName

    Display name.

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

    flags

    Flags for the widget.

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

    isEditorOnly

    True if the widget is Editor only.

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

    isHidden

    If shouldHideDelegate has been set and returns true, the widget is hidden from the UI.

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

    isInactiveInEditor

    True if the widget is inactive in the editor (i.e. widget is runtime only and the application is not 'Playing').

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

    isRuntimeOnly

    True if the widget is Runtime only.

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

    nameAndTooltip

    Helper setter to allow more compact initialization of widgets.

    Declaration
    public DebugUI.Widget.NameAndTooltip nameAndTooltip { set; }
    Property Value
    Type Description
    DebugUI.Widget.NameAndTooltip

    panel

    Panels containing the widget.

    Declaration
    public virtual DebugUI.Panel panel { get; }
    Property Value
    Type Description
    DebugUI.Panel

    parent

    Parent container.

    Declaration
    public virtual DebugUI.IContainer parent { get; }
    Property Value
    Type Description
    DebugUI.IContainer

    queryPath

    Path of the widget.

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

    tooltip

    Tooltip.

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

    Methods

    GetHashCode()

    Returns the hash code of the widget.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The hash code of the widget.

    Overrides
    object.GetHashCode()

    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, T)
    In This Article
    Back to top
    Copyright © 2024 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)