Documentation

Unity Engine

Download Unity

Unity Engine

extraScriptingDefines

The additional preprocessor defines to specify while compiling assemblies for the Player.
Read time 1 minuteLast updated a month 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.