docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OnGUI

    OnGUI(Rect)

    Draws the curve editor. This is meant to be called in your custom editors.

    Declaration
    public bool OnGUI(Rect rect)
    Parameters
    Type Name Description
    Rect rect

    The rectangle to draw into.

    Returns
    Type Description
    bool

    true if the user modified the curve, false otherwise.

    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)