docs.unity3d.com
    目次を表示する/隠す

    Method LoadResourceLocations

    LoadResourceLocations(IList<Object>, Addressables.MergeMode, Type)

    Loads the resource locations specified by the keys. The method will always return success, with a valid IList of results. If nothing matches keys, IList will be empty

    Declaration
    [Obsolete]
    public static AsyncOperationHandle<IList<IResourceLocation>> LoadResourceLocations(IList<object> keys, Addressables.MergeMode mode, Type type = null)
    Parameters
    Type Name Description
    IList<Object> keys

    The set of keys to use.

    Addressables.MergeMode mode

    The mode for merging the results of the found locations.

    Type type

    A type restriction for the lookup. Only locations of the provided type (or derived type) will be returned.

    Returns
    Type Description
    AsyncOperationHandle<IList<IResourceLocation>>

    The operation handle for the request.

    LoadResourceLocations(Object, Type)

    Request the locations for a given key. The method will always return success, with a valid IList of results. If nothing matches key, IList will be empty

    Declaration
    [Obsolete]
    public static AsyncOperationHandle<IList<IResourceLocation>> LoadResourceLocations(object key, Type type = null)
    Parameters
    Type Name Description
    Object key

    The key for the locations.

    Type type

    A type restriction for the lookup. Only locations of the provided type (or derived type) will be returned.

    Returns
    Type Description
    AsyncOperationHandle<IList<IResourceLocation>>

    The operation handle for the request.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)