docs.unity.cn
    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.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use