Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

PlayerSettings.SetScriptingBackend

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Declaration

public static void SetScriptingBackend(NamedBuildTarget buildTarget, ScriptingImplementation backend);
Obsolete Use SetScriptingBackend(NamedBuildTarget buildTarget, ScriptingImplementation backend) instead.

Declaration

public static void SetScriptingBackend(BuildTargetGroup targetGroup, ScriptingImplementation backend);

Parameters

Parameter Description
buildTarget The target platform as a NamedBuildTarget.
backend The scripting back end to set for the specified target platform, as a ScriptingImplementation.

Description

Sets the scripting back end for a given build target.

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.