docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Cleanup

    Cleanup(out int)

    Cleanup internal resources.

    Declaration
    [ExcludeFromBurstCompatTesting("References managed objects")]
    public static bool Cleanup(out int unreleasedObjectCount)
    Parameters
    Type Name Description
    int unreleasedObjectCount

    The number of unreleased objects found during cleanup.

    Returns
    Type Description
    bool

    True if no unreleased objects were found, false otherwise.

    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)