# GetDirectDependencies(string)

> Get the direct dependent AssetBundles for the given AssetBundle.

## Definition

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

```csharp
public string[] GetDirectDependencies(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) | Array of asset bundle names this asset bundle depends on. |
