docs.unity.cn
    Show / Hide Table of Contents

    Class DebugUIDrawerFoldout

    Builtin Drawer for Foldout Debug Items.

    Inheritance
    Object
    DebugUIDrawer
    DebugUIDrawerFoldout
    Inherited Members
    DebugUIDrawer.Cast<T>(Object)
    DebugUIDrawer.Apply(DebugUI.IValueField, DebugState, Object)
    DebugUIDrawer.PrepareControlRect(Single, Boolean)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    [DebugUIDrawer(typeof(DebugUI.Foldout))]
    public sealed class DebugUIDrawerFoldout : DebugUIDrawer

    Methods

    Begin(DebugUI.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(DebugUI.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(DebugUI.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
    Boolean

    The state of the widget.

    Overrides
    DebugUIDrawer.OnGUI(DebugUI.Widget, DebugState)

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 21 July 2023