Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetScriptingBackend

Sets the scripting back end for a given build target.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • 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
public static void SetScriptingBackend(BuildTargetGroup targetGroup, ScriptingImplementation backend)

Parameters

targetGroup


The scripting back end to set for the specified target platform, as a ScriptingImplementation.

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 enum. For more information on scripting back ends, refer to Scripting back ends in the Unity manual.
Note: BuildTargetGroup is marked for future deprecation. Use the version of this method that accepts a NamedBuildTarget parameter instead.

SetScriptingBackend(NamedBuildTarget, ScriptingImplementation)

Sets the scripting back end for a given build target.
public static void SetScriptingBackend(NamedBuildTarget buildTarget, ScriptingImplementation backend)

Parameters

buildTarget

The target platform as a NamedBuildTarget.

The scripting back end to set for the specified target platform, as a ScriptingImplementation.

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 enum. For more information on scripting back ends, refer to Scripting back ends in the Unity manual.
Note: BuildTargetGroup is marked for future deprecation. Use the version of this method that accepts a NamedBuildTarget parameter instead.