Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


extraScriptingDefines

The additional preprocessor defines to specify while compiling assemblies for the Player.
Read time 1 minuteLast updated 12 days ago

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.