docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetPersistentSensorData

    SetPersistentSensorData(string, object)

    Add a data object which will be added to the dataset with each capture. Overrides existing sensor data associated with the given key.

    Declaration
    public void SetPersistentSensorData(string key, object data)
    Parameters
    Type Name Description
    string key

    The key to associate with the data.

    object data

    An object containing the data. Will be serialized into json.

    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)