docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LegacyResourcesLocator

    Simple locator that acts as a passthrough for assets loaded from resources directories.

    Inheritance
    object
    LegacyResourcesLocator
    Implements
    IResourceLocator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.AddressableAssets.ResourceLocators
    Assembly: Unity.Addressables.dll
    Syntax
    public class LegacyResourcesLocator : IResourceLocator

    Properties

    Name Description
    Keys

    The keys available in this locator.

    LocatorId

    Id of locator.

    Methods

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

    The key is converted to a string and used as the internal id of the location added to the locations parameter.

    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)