docs.unity3d.com
    Show / Hide Table of Contents

    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.

    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