{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method DownloadDependenciesAsync | Addressables | 1.21.17
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Method DownloadDependenciesAsync

    DownloadDependenciesAsync(object, bool)

    Downloads dependencies of assets identified with the specified label or address.

    선언
    public static AsyncOperationHandle DownloadDependenciesAsync(object key, bool autoReleaseHandle = false)
    파라미터
    타입 이름 설명
    object key

    The key of the assets to load dependencies for.

    bool autoReleaseHandle

    If true, the Addressables system automatically releases the handle on completion.

    반환
    타입 설명
    AsyncOperationHandle

    The AsyncOperationHandle for the dependency load operation.

    참고

    Call this function to make sure that the dependencies of assets you plan to load in performance-critical sections of code are downloaded and available beforehand.

    You can use the AsyncOperationHandle returned by this function to monitor and provide feedback on the download progress.

    See Preloading dependencies for more details.

    DownloadDependenciesAsync(IList<IResourceLocation>, bool)

    Downloads dependencies of assets at the specified locations.

    선언
    public static AsyncOperationHandle DownloadDependenciesAsync(IList<IResourceLocation> locations, bool autoReleaseHandle = false)
    파라미터
    타입 이름 설명
    IList<IResourceLocation> locations

    The locations of the assets.

    bool autoReleaseHandle

    If true, the Addressables system automatically releases the handle on completion.

    반환
    타입 설명
    AsyncOperationHandle

    The AsyncOperationHandle for the dependency load.

    참고

    Call this function to make sure that the dependencies of assets you plan to load in performance-critical sections of code are downloaded and available beforehand.

    You can use the AsyncOperationHandle returned by this function to monitor and provide feedback on the download progress.

    See Preloading dependencies for more details.

    DownloadDependenciesAsync(IList<object>, MergeMode, bool)

    Downloads dependencies of assets marked with the specified labels or addresses. See the DownloadDependenciesAsync documentation for more details.

    선언
    [Obsolete]
    public static AsyncOperationHandle DownloadDependenciesAsync(IList<object> keys, Addressables.MergeMode mode, bool autoReleaseHandle = false)
    파라미터
    타입 이름 설명
    IList<object> keys

    List of keys for the locations.

    Addressables.MergeMode mode

    Method for merging the results of key matches. See Addressables.MergeMode for specifics

    bool autoReleaseHandle

    Automatically releases the handle on completion

    반환
    타입 설명
    AsyncOperationHandle

    The AsyncOperationHandle for the dependency load.

    DownloadDependenciesAsync(IEnumerable, MergeMode, bool)

    Downloads dependencies of assets identified by a list of keys.

    선언
    public static AsyncOperationHandle DownloadDependenciesAsync(IEnumerable keys, Addressables.MergeMode mode, bool autoReleaseHandle = false)
    파라미터
    타입 이름 설명
    IEnumerable keys

    List of keys for the locations.

    Addressables.MergeMode mode

    Method for merging the results of key matches. See Addressables.MergeMode for specifics

    bool autoReleaseHandle

    If true, the Addressables system automatically releases the handle on completion.

    반환
    타입 설명
    AsyncOperationHandle

    The AsyncOperationHandle for the dependency load operation.

    참고

    The keys in keys are translated into lists of locations, which are merged into a single list based on the value in mode.

    Call this function to make sure that the dependencies of assets you plan to load in performance-critical sections of code are downloaded and available beforehand.

    You can use the AsyncOperationHandle returned by this function to monitor and provide feedback on the download progress.

    See Preloading dependencies for more details.

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)