Interface IResourceLocator
Interface used by the Addressables system to find th locations of a given key.
Namespace: UnityEngine.AddressableAssets.ResourceLocators
Syntax
public interface IResourceLocator
Properties
Keys
The keys defined by this locator.
Declaration
IEnumerable<object> Keys { get; }
Property Value
| Type | Description | 
|---|---|
| IEnumerable<Object> | 
LocatorId
The id for this locator.
Declaration
string LocatorId { get; }
Property Value
| Type | Description | 
|---|---|
| String | 
Methods
Locate(Object, Type, out IList<IResourceLocation>)
Retrieve the locations from a specified key.
Declaration
bool Locate(object key, Type type, out IList<IResourceLocation> locations)
Parameters
| Type | Name | Description | 
|---|---|---|
| Object | key | The key to use.  | 
| Type | type | |
| IList<IResourceLocation> | locations | The resulting set of locations for the key.  | 
Returns
| Type | Description | 
|---|---|
| Boolean | True if any locations were found with the specified key.  |