Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AssetBundleManifest.GetDirectDependencies

Switch to Manual
public string[] GetDirectDependencies(string assetBundleName);

Parameters

assetBundleName Name of the asset bundle.

Returns

string[] Array of asset bundle names this asset bundle depends on.

Description

Get the direct dependent AssetBundles for the given AssetBundle.