文档

Unity Engine

Unity Engine

LoadAllAssetsAsync

Loads all Assets contained in the AssetBundle asynchronously.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AssetBundleModule

LoadAllAssetsAsync()

Loads all Assets contained in the AssetBundle asynchronously.
public AssetBundleRequest LoadAllAssetsAsync()

Returns

Type

Description

AssetBundleRequestAsynchronous 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

AssetBundleRequestAsynchronous 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

type

When specified only main or visible objects that derive from the provided type are returned.

Returns

Type

Description

AssetBundleRequestAsynchronous load request. Use the AssetBundleRequest.allAssets property to get the loaded assets once the operation completes.

Remarks

Additional Resources: AssetBundleRequest.allAssets