docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Add

    Add(params SerializedProperty[])

    Adds an arbitrary number of serialized curves to the editor.

    Declaration
    public void Add(params SerializedProperty[] curves)
    Parameters
    Type Name Description
    SerializedProperty[] curves

    The curves to add.

    Add(SerializedProperty)

    Adds a serialized curve to the editor.

    Declaration
    public void Add(SerializedProperty curve)
    Parameters
    Type Name Description
    SerializedProperty curve

    The curve to add.

    Add(SerializedProperty, CurveState)

    Adds a serialized curve to the editor with a given state.

    Declaration
    public void Add(SerializedProperty curve, InspectorCurveEditor.CurveState state)
    Parameters
    Type Name Description
    SerializedProperty curve

    The curve to add.

    InspectorCurveEditor.CurveState state

    The state to use for the curve.

    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)