# SetScriptingBackend

> Sets the scripting framework for a given build target.

## Definition

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

## SetScriptingBackend(BuildTargetGroup, ScriptingImplementation)

Sets the scripting framework for a given build target.

> **Warning:**
>
> **Deprecated.** Use SetScriptingBackend(NamedBuildTarget buildTarget, ScriptingImplementation backend) instead

```csharp
public static void SetScriptingBackend(BuildTargetGroup targetGroup, ScriptingImplementation backend)
```

### Parameters

**** (\[BuildTargetGroup]\(/engine/6000.6/script-reference/unityeditor/buildtargetgroup)): **** (\[ScriptingImplementation]\(/engine/6000.6/script-reference/unityeditor/scriptingimplementation)): The [ScriptingImplementation](/engine/6000.6/script-reference/unityeditor/scriptingimplementation.md).

### Remarks

Sets the scripting framework that Unity will use for a specific build target.  Sets either IL2CPP, Mono, or .NET as the backend scripting framework.

BuildTargetGroup is marked for deprecation in the future. Use [NamedBuildTarget](/engine/6000.6/script-reference/unityeditor/build/namedbuildtarget.md) instead.

## SetScriptingBackend(NamedBuildTarget, ScriptingImplementation)

Sets the scripting framework for a given build target.

```csharp
public static void SetScriptingBackend(NamedBuildTarget buildTarget, ScriptingImplementation backend)
```

### Parameters

**** (\[NamedBuildTarget]\(/engine/6000.6/script-reference/unityeditor/build/namedbuildtarget)): The [NamedBuildTarget](/engine/6000.6/script-reference/unityeditor/build/namedbuildtarget.md).**** (\[ScriptingImplementation]\(/engine/6000.6/script-reference/unityeditor/scriptingimplementation)): The [ScriptingImplementation](/engine/6000.6/script-reference/unityeditor/scriptingimplementation.md).

### Remarks

Sets the scripting framework that Unity will use for a specific build target.  Sets either IL2CPP, Mono, or .NET as the backend scripting framework.

BuildTargetGroup is marked for deprecation in the future. Use [NamedBuildTarget](/engine/6000.6/script-reference/unityeditor/build/namedbuildtarget.md) instead.
