ドキュメント

Unity Engine

Unity Engine

LoadAssetWithSubAssetsAsync

Loads Asset and sub Assets from the AssetBundle asynchronously.
読み終わるまでの所要時間 1 分最終更新 22日前

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

Name of the Asset.

Returns

Type

Description

AssetBundleRequestAsynchronous load request. Use the AssetBundleRequest.allAssets property to get the loaded asset and its sub-assets once the operation completes.

Remarks

Additional Resources: AssetBundleRequest.allAssets

LoadAssetWithSubAssetsAsync<T>(string)

Loads Asset and sub Assets from the AssetBundle asynchronously.
public AssetBundleRequest LoadAssetWithSubAssetsAsync<T>(string name)

Parameters

name

Name of the Asset.

Returns

Type

Description

AssetBundleRequestAsynchronous load request. Use the AssetBundleRequest.allAssets property to get the loaded asset and its sub-assets once the operation completes.

Remarks

Additional Resources: AssetBundleRequest.allAssets

LoadAssetWithSubAssetsAsync(string, Type)

Loads Asset and sub Assets from the AssetBundle asynchronously.
public AssetBundleRequest LoadAssetWithSubAssetsAsync(string name, Type type)

Parameters

name

Name of the Asset.

type

Type to load.

Returns

Type

Description

AssetBundleRequestAsynchronous load request. Use the AssetBundleRequest.allAssets property to get the loaded asset and its sub-assets once the operation completes.

Remarks

Additional Resources: AssetBundleRequest.allAssets