docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetObjectData

    SetObjectData(string, SplineData<Object>)

    Set the SplineData<T> for .

    Declaration
    public void SetObjectData(string key, SplineData<Object> value)
    Parameters
    Type Name Description
    string key

    The string key value to search for. Only one instance of a key value can exist in an embedded SplineData<T> collection, however keys are unique to each data type. The same key can be re-used to store float data and Object data.

    SplineData<Object> value

    The SplineData<T> to set. This value will be copied.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)