Version: 2023.2

AssetBundle.LoadAllAssetsAsync

切换到手册
public AssetBundleRequest LoadAllAssetsAsync ();
public AssetBundleRequest LoadAllAssetsAsync (Type type);
public AssetBundleRequest LoadAllAssetsAsync ();

参数

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

描述

Loads all Assets contained in the AssetBundle asynchronously.

Additional resources: AssetBundleRequest.allAssets.