# SetScriptingBackend

> Sets the scripting back end for a given build target.

## Definition

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

## SetScriptingBackend(BuildTargetGroup, ScriptingImplementation)

Sets the scripting back end 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.7/script-reference/unityeditor/buildtargetgroup)): **** (\[ScriptingImplementation]\(/engine/6000.7/script-reference/unityeditor/scriptingimplementation)): The scripting back end to set for the specified target platform, as a [ScriptingImplementation](/engine/6000.7/script-reference/unityeditor/scriptingimplementation.md).

### Remarks

Sets the scripting back end to use for a specific Player build target. The scripting back end must be a value from the [ScriptingImplementation](/engine/6000.7/script-reference/unityeditor/scriptingimplementation.md) enum. For more information on scripting back ends, refer to [Scripting back ends](/engine/6000.7/manual/scripting/compilation-and-code-reload/script-compilation/backends.md) in the Unity manual.

**Note**: [BuildTargetGroup](/engine/6000.7/script-reference/unityeditor/buildtargetgroup.md) is marked for future deprecation. Use the version of this method that accepts a [NamedBuildTarget](/engine/6000.7/script-reference/unityeditor/build/namedbuildtarget.md) parameter instead.

## SetScriptingBackend(NamedBuildTarget, ScriptingImplementation)

Sets the scripting back end for a given build target.

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

### Parameters

**** (\[NamedBuildTarget]\(/engine/6000.7/script-reference/unityeditor/build/namedbuildtarget)): The target platform as a [NamedBuildTarget](/engine/6000.7/script-reference/unityeditor/build/namedbuildtarget.md).**** (\[ScriptingImplementation]\(/engine/6000.7/script-reference/unityeditor/scriptingimplementation)): The scripting back end to set for the specified target platform, as a [ScriptingImplementation](/engine/6000.7/script-reference/unityeditor/scriptingimplementation.md).

### Remarks

Sets the scripting back end to use for a specific Player build target. The scripting back end must be a value from the [ScriptingImplementation](/engine/6000.7/script-reference/unityeditor/scriptingimplementation.md) enum. For more information on scripting back ends, refer to [Scripting back ends](/engine/6000.7/manual/scripting/compilation-and-code-reload/script-compilation/backends.md) in the Unity manual.

**Note**: [BuildTargetGroup](/engine/6000.7/script-reference/unityeditor/buildtargetgroup.md) is marked for future deprecation. Use the version of this method that accepts a [NamedBuildTarget](/engine/6000.7/script-reference/unityeditor/build/namedbuildtarget.md) parameter instead.
