GetAllAssetNames()
Return all Asset names in the AssetBundle.
阅读时间1 分钟最后更新于 24 天前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AssetBundleModule
public string[] GetAllAssetNames()
Returns
Type | Description |
|---|---|
| string[] | An array of the names of all the assets in the AssetBundle. |
Remarks
The names are the project-relative path of each Asset file, unless a different name was specified at build time.
If the AssetBundle contains Scenes this returns an empty string array.
Additional Resources: AssetBundleBuild.addressableNames