docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReleaseObjectAsync

    ReleaseObjectAsync(in UntypedWeakReferenceId)

    Thread safe method to release an object. The release will happen during the main thread update.

    Declaration
    [BurstCompile]
    [GenerateTestsForBurstCompatibility]
    public static void ReleaseObjectAsync(in UntypedWeakReferenceId objectId)
    Parameters
    Type Name Description
    UntypedWeakReferenceId objectId

    The object id to release.

    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)