docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DoGUI

    DoGUI(Rect, GUIContent, FloatField, DebugStateFloat)

    Does the field of the given type

    Declaration
    protected override float DoGUI(Rect rect, GUIContent label, DebugUI.FloatField field, DebugStateFloat state)
    Parameters
    Type Name Description
    Rect rect

    The rect to draw the field

    GUIContent label

    The label for the field

    DebugUI.FloatField field

    The field

    DebugStateFloat state

    The state

    Returns
    Type Description
    float

    The current value from the UI

    Overrides
    DebugUIFieldDrawer<float, DebugUI.FloatField, DebugStateFloat>.DoGUI(Rect, GUIContent, DebugUI.FloatField, DebugStateFloat)
    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)