# assetNames

> Asset names which belong to the given AssetBundle.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
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](/engine/6000.5/script-reference/unityengine/assetbundle/loadasset.md), unless an alternative name has been specified in [\_addressableNames](/engine/6000.5/script-reference/unityeditor/assetbundlebuild/addressablenames.md).
