文档

Unity Engine

Unity Engine

SetScriptingBackend

Sets the scripting back end for a given build target.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

SetScriptingBackend(BuildTargetGroup, ScriptingImplementation)

Sets the scripting back end for a given build target.
警告
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.