docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DoGUI

    DoGUI(Rect, GUIContent, Vector2Field, DebugStateVector2)

    Does the field of the given type

    Declaration
    protected override Vector2 DoGUI(Rect rect, GUIContent label, DebugUI.Vector2Field field, DebugStateVector2 state)
    Parameters
    Type Name Description
    Rect rect

    The rect to draw the field

    GUIContent label

    The label for the field

    DebugUI.Vector2Field field

    The field

    DebugStateVector2 state

    The state

    Returns
    Type Description
    Vector2

    The current value from the UI

    Overrides
    DebugUIFieldDrawer<Vector2, DebugUI.Vector2Field, DebugStateVector2>.DoGUI(Rect, GUIContent, DebugUI.Vector2Field, DebugStateVector2)
    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)