docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetOccurrenceUserData

    SetOccurrenceUserData(uint, uint, IntPtr)

    Set or replace a userdata stored on an occurrence

    Declaration
    public void SetOccurrenceUserData(uint userDataId, uint occurrence, IntPtr userData)
    Parameters
    Type Name Description
    uint userDataId

    UserData identifier provided by subscribeToOccurrenceUserData

    uint occurrence

    Occurrence that will store the user data

    IntPtr userData

    User data to store in the given occurrence

    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)