docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Release

    Release<TObject>(TObject)

    Release asset.

    Declaration
    public static void Release<TObject>(TObject obj)
    Parameters
    Type Name Description
    TObject obj

    The asset to release.

    Type Parameters
    Name Description
    TObject

    The type of the object being released

    Release<TObject>(AsyncOperationHandle<TObject>)

    Release the operation and its associated resources.

    Declaration
    public static void Release<TObject>(AsyncOperationHandle<TObject> handle)
    Parameters
    Type Name Description
    AsyncOperationHandle<TObject> handle

    The operation handle to release.

    Type Parameters
    Name Description
    TObject

    The type of the AsyncOperationHandle being released

    Release(AsyncOperationHandle)

    Release the operation and its associated resources.

    Declaration
    public static void Release(AsyncOperationHandle handle)
    Parameters
    Type Name Description
    AsyncOperationHandle handle

    The operation handle 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)