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 |