ドキュメント

Unity Engine

Unity Engine

SetScriptingDefineSymbols

Set user-specified symbols for script compilation for the given build target.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.