LoadAssetWithSubAssetsAsync
Loads Asset and sub Assets from the AssetBundle asynchronously.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AssetBundleModule
LoadAssetWithSubAssetsAsync(string)
Loads Asset and sub Assets from the AssetBundle asynchronously.
public AssetBundleRequest LoadAssetWithSubAssetsAsync(string name)
Parameters
Name of the Asset.
Returns
Type | Description |
|---|---|
| AssetBundleRequest | Asynchronous load request. Use the _allAssets property to get the loaded asset and its sub-assets once the operation completes. |
Remarks
Additional Resources: _allAssets
LoadAssetWithSubAssetsAsync<T>(string)
Loads Asset and sub Assets from the AssetBundle asynchronously.
public AssetBundleRequest LoadAssetWithSubAssetsAsync<T>(string name)
Parameters
Name of the Asset.
Returns
Type | Description |
|---|---|
| AssetBundleRequest | Asynchronous load request. Use the _allAssets property to get the loaded asset and its sub-assets once the operation completes. |
Remarks
Additional Resources: _allAssets
LoadAssetWithSubAssetsAsync(string, Type)
Loads Asset and sub Assets from the AssetBundle asynchronously.
public AssetBundleRequest LoadAssetWithSubAssetsAsync(string name, Type type)
Parameters
Returns
Type | Description |
|---|---|
| AssetBundleRequest | Asynchronous load request. Use the _allAssets property to get the loaded asset and its sub-assets once the operation completes. |
Remarks
Additional Resources: _allAssets