GetAllAssetNames()
Return all Asset names in the AssetBundle.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AssetBundleModule
public string[] GetAllAssetNames()
Returns
Type | Description |
|---|---|
| string[] |
Remarks
Only works for normal AssetBundles (non-streamed Scene AssetBundle), otherwise an empty string array is returned. The names are the project-relative path of each Asset file, unless a different name was specified at build time.
Additional Resources: AssetBundleBuild.addressableNames