docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUIDrawerButton

    Builtin Drawer for Button Debug Items.

    Inheritance
    object
    DebugUIDrawer
    DebugUIDrawerButton
    Inherited Members
    DebugUIDrawer.Begin(DebugUI.Widget, DebugState)
    DebugUIDrawer.End(DebugUI.Widget, DebugState)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    [DebugUIDrawer(typeof(DebugUI.Button))]
    public sealed class DebugUIDrawerButton : DebugUIDrawer

    Methods

    OnGUI(Widget, DebugState)

    OnGUI implementation for Button DebugUIDrawer.

    Declaration
    public override bool OnGUI(DebugUI.Widget widget, DebugState state)
    Parameters
    Type Name Description
    DebugUI.Widget widget

    DebugUI Widget.

    DebugState state

    Debug State associated with the Debug Item.

    Returns
    Type Description
    bool

    The state of the widget.

    Overrides
    DebugUIDrawer.OnGUI(DebugUI.Widget, DebugState)

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    In This Article
    Back to top
    Copyright © 2025 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)