LoadAllAssetsAsync
Loads all Assets contained in the AssetBundle asynchronously.
Read time 1 minuteLast updated 10 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 _allAssets property to get the loaded assets once the operation completes. |
Remarks
Additional Resources: _allAssets
LoadAllAssetsAsync<T>()
Loads all Assets contained in the AssetBundle asynchronously.
public AssetBundleRequest LoadAllAssetsAsync<T>()
Returns
Type | Description |
|---|---|
| AssetBundleRequest | Asynchronous load request. Use the _allAssets property to get the loaded assets once the operation completes. |
Remarks
Additional Resources: _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 _allAssets property to get the loaded assets once the operation completes. |
Remarks
Additional Resources: _allAssets