기술 자료

Unity Engine

Unity Engine

GetAllAssetNames()

Return all Asset names in the AssetBundle.
읽는 시간 1분최근 업데이트: 22일 전

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