assetNames
Asset names which belong to the given AssetBundle.
読み終わるまでの所要時間 1 分最終更新 20日前
Definition
- Type: Field
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public string[] assetNames
Remarks
Please use the asset path relative to the project folder, for example "Assets/MyPrefab.prefab".
An AssetBundle can contain either Scene files or Asset files, but not a mix of the two.
This same path is used to retrieve assets from a loaded AssetBundle, for example with AssetBundle.LoadAsset, unless an alternative name has been specified in AssetBundleBuild.addressableNames.