string[] Array of asset bundle names.
Return all the AssetBundle names in the asset database.
no example available in JavaScript
using UnityEditor; using UnityEngine;
public class GetAssetBundleNames { [MenuItem ("Assets/Get Asset Bundle names")] static void GetNames () { var names = AssetDatabase.GetAllAssetBundleNames(); foreach (string name in names) Debug.Log ("Asset Bundle: " + name); } }