Version: 2017.3

AssetDatabase.GetAssetBundleDependencies

Cambiar al Manual
public static string[] GetAssetBundleDependencies (string assetBundleName, bool recursive);

Parámetros

assetBundleName The name of the AssetBundle for which dependencies are required.
recursive If false, returns only AssetBundles which are direct dependencies of the input; if true, includes all indirect dependencies of the input.

Valor de retorno

string[] The names of all AssetBundles that the input depends on.

Descripción

Given an assetBundleName, returns the list of AssetBundles that it depends on.