文档

Unity Engine

Unity Engine

GetAllAssetNames()

Return all Asset names in the AssetBundle.
阅读时间1 分钟最后更新于 2 天前

Definition

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