Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAllAssetNames()

Return all Asset names in the AssetBundle.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AssetBundleModule
public string[] GetAllAssetNames()

Returns

Type

Description

string[]

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