docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OnGUI

    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)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)