Method LoadAssets
LoadAssets<TObject>(IList<IResourceLocation>, Action<TObject>)
Load multiple assets
선언
[Obsolete]
public static AsyncOperationHandle<IList<TObject>> LoadAssets<TObject>(IList<IResourceLocation> locations, Action<TObject> callback)
파라미터
타입 | 이름 | 설명 |
---|---|---|
IList<IResourceLocation> | locations | The locations of the assets. |
Action<TObject> | callback | Callback Action that is called per load operation. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<IList<TObject>> | The operation handle for the request. |
타입 파라미터
이름 | 설명 |
---|---|
TObject | The type of the assets. |
LoadAssets<TObject>(IList<object>, Action<TObject>, MergeMode)
Load multiple assets
선언
[Obsolete]
public static AsyncOperationHandle<IList<TObject>> LoadAssets<TObject>(IList<object> keys, Action<TObject> callback, Addressables.MergeMode mode)
파라미터
타입 | 이름 | 설명 |
---|---|---|
IList<object> | keys | List of keys for the locations. |
Action<TObject> | callback | Callback Action that is called per load operation. |
Addressables.MergeMode | mode | Method for merging the results of key matches. See Addressables.MergeMode for specifics |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<IList<TObject>> | The operation handle for the request. |
타입 파라미터
이름 | 설명 |
---|---|
TObject | The type of the assets. |
LoadAssets<TObject>(object, Action<TObject>)
Load mutliple assets See the Loading Addressable Assets documentation for more details.
선언
[Obsolete]
public static AsyncOperationHandle<IList<TObject>> LoadAssets<TObject>(object key, Action<TObject> callback)
파라미터
타입 | 이름 | 설명 |
---|---|---|
object | key | Key for the locations. |
Action<TObject> | callback | Callback Action that is called per load operation. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<IList<TObject>> | The operation handle for the request. |
타입 파라미터
이름 | 설명 |
---|---|
TObject | The type of the assets. |