# GetAllDependencies(string)

> Get all the dependent AssetBundles for the given AssetBundle.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AssetBundleModule

```csharp
public string[] GetAllDependencies(string assetBundleName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Name of the asset bundle.

### Returns

| Type                                                               | Description |
| ------------------------------------------------------------------ | ----------- |
| [string\[\]](https://learn.microsoft.com/dotnet/api/system.string) |             |
