docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUI.Button

    Button widget.

    Inheritance
    object
    DebugUI.Widget
    DebugUI.Button
    Inherited Members
    DebugUI.Widget.order
    DebugUI.Widget.m_Panel
    DebugUI.Widget.panel
    DebugUI.Widget.m_RequiresLegacyStateHandling
    DebugUI.Widget.m_Parent
    DebugUI.Widget.parent
    DebugUI.Widget.flags
    DebugUI.Widget.displayName
    DebugUI.Widget.tooltip
    DebugUI.Widget.queryPath
    DebugUI.Widget.isEditorOnly
    DebugUI.Widget.isRuntimeOnly
    DebugUI.Widget.isInactiveInEditor
    DebugUI.Widget.isHiddenCallback
    DebugUI.Widget.isHidden
    DebugUI.Widget.nameAndTooltip
    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.Button : DebugUI.Widget

    Properties

    action

    Action performed by the button.

    Declaration
    public Action action { get; set; }
    Property Value
    Type Description
    Action

    Methods

    Create()

    Creates the VisualElement for the widget that will be added to the panel UI.

    Declaration
    protected override VisualElement Create()
    Returns
    Type Description
    VisualElement

    The widget's VisualElement

    Overrides
    DebugUI.Widget.Create()

    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)