docs.unity3d.com
    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
    • Release<TObject>(TObject)
    • Release<TObject>(AsyncOperationHandle<TObject>)
    • Release(AsyncOperationHandle)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023