文档

Unity Engine

Unity Engine

extraScriptingDefines

The additional preprocessor defines to specify while compiling assemblies for the Player.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public string[] extraScriptingDefines { readonly get; set; }

Remarks

Unity appends these defines to the Scripting Define Symbols from both the build profile and the Player settings.