# GetDynamicBatchingForPlatform(BuildTarget)

> Returns true if dynamic batching is enabled for the given BuildTarget.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Removed.** GetDynamicBatchingForPlatform is obsolete.

```csharp
public static bool GetDynamicBatchingForPlatform(BuildTarget platform)
```

### Parameters

**** (\[BuildTarget]\(/engine/6000.7/script-reference/unityeditor/buildtarget)): BuildTarget to check if dynamic batching is enabled for.

### Returns

| Type                                                          | Description                                      |
| ------------------------------------------------------------- | ------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Is dynamic batching enabled for the BuildTarget. |
