Class ResourceLocationMap | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ResourceLocationMap

    TODO - doc

    Inheritance
    System.Object
    ResourceLocationMap
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEngine.AddressableAssets
    Syntax
    public class ResourceLocationMap : IResourceLocator

    Constructors

    ResourceLocationMap(IList<ResourceLocationData>)

    Declaration
    public ResourceLocationMap(IList<ResourceLocationData> locations)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<ResourceLocationData> locations

    ResourceLocationMap(Int32)

    Declaration
    public ResourceLocationMap(int capacity = 0)
    Parameters
    Type Name Description
    System.Int32 capacity

    Fields

    m_locations

    TODO - doc

    Declaration
    public Dictionary<object, IList<IResourceLocation>> m_locations
    Field Value
    Type Description
    System.Collections.Generic.Dictionary<System.Object, System.Collections.Generic.IList<IResourceLocation>>

    Methods

    Add(Object, IResourceLocation)

    TODO - doc

    Declaration
    public void Add(object key, IResourceLocation loc)
    Parameters
    Type Name Description
    System.Object key
    IResourceLocation loc

    Add(Object, IList<IResourceLocation>)

    Declaration
    public void Add(object key, IList<IResourceLocation> locs)
    Parameters
    Type Name Description
    System.Object key
    System.Collections.Generic.IList<IResourceLocation> locs

    Locate(Object, out IList<IResourceLocation>)

    TODO - doc

    Declaration
    public bool Locate(object key, out IList<IResourceLocation> results)
    Parameters
    Type Name Description
    System.Object key
    System.Collections.Generic.IList<IResourceLocation> results
    Returns
    Type Description
    System.Boolean
    Implements
    IResourceLocator.Locate(Object, out IList<IResourceLocation>)
    Back to top
    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