Version: 2023.1

AssetBundle.GetAllAssetNames

切换到手册
public string[] GetAllAssetNames ();

描述

Return all Asset names in the AssetBundle.

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.

See Also: AssetBundleBuild.addressableNames