docs.unity.cn
    Show / Hide Table of Contents

    Class LegacyResourcesLocator

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

    Inheritance
    Object
    LegacyResourcesLocator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.AddressableAssets.ResourceLocators
    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.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use