LoadAssetAsync(CancellationToken)
Loads the asset assigned to this entry.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
Awaitable<Object> LoadAssetAsync(CancellationToken cancellationToken)
Parameters
A token that cancels the load.
Returns
Type | Description |
|---|---|
| Awaitable<Object> | An awaitable that resolves to the loaded asset, or |
Remarks
The load is resolved by the concrete kind. The result is when no asset is assigned or it cannot be resolved. Release the returned asset with IAssetEntry.ReleaseAsset once you are finished with it.
null