docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IResourceLocator

    Interface used by the Addressables system to find the locations of a given key. An implementation of this interface must transform a key into an IResourceLocation. The content catalog is the primary resource locator as it contains a mapping of keys to locations. Custom locators could pull their location data from an online source.

    Namespace: UnityEngine.AddressableAssets.ResourceLocators
    Assembly: Unity.Addressables.dll
    Syntax
    public interface IResourceLocator

    Properties

    Name Description
    AllLocations

    All locations that are available by this locator.

    Keys

    The keys defined by this locator.

    LocatorId

    The id for this locator.

    Methods

    Name Description
    Locate(object, Type, out IList<IResourceLocation>)

    Retrieve the locations from a specified key.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)