Version: 2017.2

AssetDatabase.GetAllAssetBundleNames

매뉴얼로 전환
public static string[] GetAllAssetBundleNames ();

반환

string[] Array of asset bundle names.

설명

Return all the AssetBundle names in the asset database.

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); } }