docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Update

    Update(Vector2, Vector2)

    Update all fields while moving one extremity

    Declaration
    public void Update(Vector2 point1, Vector2 point2)
    Parameters
    Type Name Description
    Vector2 point1

    The new first extremity position

    Vector2 point2

    The new second extremity position

    Update(Vector2, float, float)

    Update all fields while moving the bar

    Declaration
    public void Update(Vector2 center, float length, float angle)
    Parameters
    Type Name Description
    Vector2 center

    The new center position

    float length

    Tne new length of this gizmo

    float angle

    The new angle of this gizmo

    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)