docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ResourceLocationMap

    Simple implementation of an IResourceLocator

    Inheritance
    object
    ResourceLocationMap
    Implements
    IResourceLocator
    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
    Assembly: solution.dll
    Syntax
    public class ResourceLocationMap : IResourceLocator

    Constructors

    Name Description
    ResourceLocationMap(string, IList<ResourceLocationData>)

    Construct a new ResourceLocationMap object with a list of locations.

    ResourceLocationMap(string, int)

    Construct a new ResourceLocationMap object.

    Properties

    Name Description
    AllLocations

    Enumeration of all locations for this locator.

    Keys

    The keys available in this locator.

    Locations

    Map of all locations for this locator.

    LocatorId

    Stores the resource locator id.

    Methods

    Name Description
    Add(object, IList<IResourceLocation>)

    Add a list of locations.

    Add(object, IResourceLocation)

    Add a new location.

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

    Locate all of the locations that match the given key.

    In This Article
    Back to top
    Copyright © 2024 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)