기술 자료

Unity Engine

Unity Engine

SetScriptingDefineSymbols

Set user-specified symbols for script compilation for the given build target.
읽는 시간 1분최근 업데이트: 20일 전

Definition

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

SetScriptingDefineSymbols(NamedBuildTarget, string)

Set user-specified symbols for script compilation for the given build target.
public static void SetScriptingDefineSymbols(NamedBuildTarget buildTarget, string defines)

Parameters


defines

Symbols for this build target are passed as an array or as a string separated by semicolons.

Remarks

To see defines string values go to Edit > Project Settings > Player Settings > Scripting Compilation > Scripting Define Symbols.
Additional Resources: Platform Dependent Compilation.

SetScriptingDefineSymbols(NamedBuildTarget, string[])

Set user-specified symbols for script compilation for the given build target.
public static void SetScriptingDefineSymbols(NamedBuildTarget buildTarget, string[] defines)

Parameters


defines

Symbols for this build target are passed as an array or as a string separated by semicolons.

Remarks

To see defines string values go to Edit > Project Settings > Player Settings > Scripting Compilation > Scripting Define Symbols.
Additional Resources: Platform Dependent Compilation.