Version: 2023.2
LanguageEnglish
  • C#

PlayerSettings.GetDefaultScriptingBackend

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 ScriptingImplementation GetDefaultScriptingBackend(Build.NamedBuildTarget buildTarget);

Parameters

buildTarget The NamedBuildTarget.

Returns

ScriptingImplementation A ScriptingImplementation object that describes the default scripting backend for the build target you select.

Description

Returns the default ScriptingImplementation for the build target you select.


Obsolete Use GetDefaultScriptingBackend(NamedBuildTarget buildTarget) instead.

Declaration

public static ScriptingImplementation GetDefaultScriptingBackend(BuildTargetGroup targetGroup);

Parameters

targetGroup The platform group to retrieve the scripting backend for.

Returns

ScriptingImplementation A ScriptingImplementation object that describes the default scripting backend used on that build target.

Description

BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.