Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAllDependencies(string)

Get all the dependent AssetBundles for the given AssetBundle.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AssetBundleModule
public string[] GetAllDependencies(string assetBundleName)

Parameters

assetBundleName

Name of the asset bundle.

Returns

Type

Description

string[]An array of the names of all the AssetBundles that the specified AssetBundle depends on, including indirect dependencies.