docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUIDrawerFoldout

    Builtin Drawer for Foldout Debug Items.

    Inheritance
    object
    DebugUIDrawer
    DebugUIDrawerFoldout
    Inherited Members
    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.Foldout))]
    public sealed class DebugUIDrawerFoldout : DebugUIDrawer

    Methods

    Begin(Widget, DebugState)

    Implement this to execute processing before UI rendering.

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

    Widget that is going to be rendered.

    DebugState state

    Debug State associated with the Debug Item.

    Overrides
    DebugUIDrawer.Begin(DebugUI.Widget, DebugState)

    End(Widget, DebugState)

    End implementation for Foldout DebugUIDrawer.

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

    DebugUI Widget.

    DebugState state

    Debug State associated with the Debug Item.

    Overrides
    DebugUIDrawer.End(DebugUI.Widget, DebugState)

    OnGUI(Widget, DebugState)

    OnGUI implementation for Foldout 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)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<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)