Class ResourceLocationMap
Simple implementation of an IResourceLocator
Implements
Inherited Members
Namespace: UnityEngine.AddressableAssets.ResourceLocators
Assembly: Unity.Addressables.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 |
---|---|
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. |