Method LoadResourceLocations
LoadResourceLocations(IList<object>, 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
선언
[Obsolete]
public static AsyncOperationHandle<IList<IResourceLocation>> LoadResourceLocations(IList<object> keys, Addressables.MergeMode mode, Type type = null)
파라미터
타입 | 이름 | 설명 |
---|---|---|
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. |
반환
타입 | 설명 |
---|---|
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
선언
[Obsolete]
public static AsyncOperationHandle<IList<IResourceLocation>> LoadResourceLocations(object key, Type type = null)
파라미터
타입 | 이름 | 설명 |
---|---|---|
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. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<IList<IResourceLocation>> | The operation handle for the request. |