Method LoadResourceLocations
LoadResourceLocations(IList<Object>, Addressables.MergeMode, Type)
Loads the resource locations specified by the keys. The method will always return success, with a valid IList of results. If nothing matches keys, IList will be empty
Declaration
[Obsolete]
public static AsyncOperationHandle<IList<IResourceLocation>> LoadResourceLocations(IList<object> keys, Addressables.MergeMode mode, Type type = null)
Parameters
Type | Name | Description |
---|---|---|
IList<Object> | keys | The set of keys to use. |
Addressables.MergeMode | mode | The mode for merging the results of the found locations. |
Type | type | A type restriction for the lookup. Only locations of the provided type (or derived type) will be returned. |
Returns
Type | Description |
---|---|
AsyncOperationHandle<IList<IResourceLocation>> | The operation handle for the request. |
LoadResourceLocations(Object, Type)
Request the locations for a given key. The method will always return success, with a valid IList of results. If nothing matches key, IList will be empty
Declaration
[Obsolete]
public static AsyncOperationHandle<IList<IResourceLocation>> LoadResourceLocations(object key, Type type = null)
Parameters
Type | Name | Description |
---|---|---|
Object | key | The key for the locations. |
Type | type | A type restriction for the lookup. Only locations of the provided type (or derived type) will be returned. |
Returns
Type | Description |
---|---|
AsyncOperationHandle<IList<IResourceLocation>> | The operation handle for the request. |