LoadAllAssetsAsync
Loads all Assets contained in the AssetBundle asynchronously.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AssetBundleModule
LoadAllAssetsAsync()
Loads all Assets contained in the AssetBundle asynchronously.
public AssetBundleRequest LoadAllAssetsAsync()
Returns
Type | Description |
|---|---|
| AssetBundleRequest | Asynchronous load request. Use the AssetBundleRequest.allAssets property to get the loaded assets once the operation completes. |
Remarks
Additional Resources: AssetBundleRequest.allAssets
LoadAllAssetsAsync<T>()
Loads all Assets contained in the AssetBundle asynchronously.
public AssetBundleRequest LoadAllAssetsAsync<T>()
Returns
Type | Description |
|---|---|
| AssetBundleRequest | Asynchronous load request. Use the AssetBundleRequest.allAssets property to get the loaded assets once the operation completes. |
Remarks
Additional Resources: AssetBundleRequest.allAssets
LoadAllAssetsAsync(Type)
Loads all Assets contained in the AssetBundle asynchronously.
public AssetBundleRequest LoadAllAssetsAsync(Type type)
Parameters
When specified only main or visible objects that derive from the provided type are returned.
Returns
Type | Description |
|---|---|
| AssetBundleRequest | Asynchronous load request. Use the AssetBundleRequest.allAssets property to get the loaded assets once the operation completes. |
Remarks
Additional Resources: AssetBundleRequest.allAssets