# scriptingDefines

> Lists the user-specified script compilation defines in the build profile.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Build.Profile](/engine/6000.0/script-reference/unityeditor/build/profile.md)
* **Assembly:** UnityEditor

```csharp
public string[] scriptingDefines { get; set; }
```

### Remarks

Player and Editor scripts include these script compilation defines only if the build profile is active. Unity serializes the defines in the build profile asset, so each profile holds its own set. Edit them through this property or in the **Scripting Defines** section of the **Build Profiles** window.

These defines add to the symbols stored in the Player settings instead of replacing them. [PlayerSettings.GetScriptingDefineSymbols](/engine/6000.0/script-reference/unityeditor/playersettings/getscriptingdefinesymbols.md) returns the Player settings symbols only, so read this property to get the symbols that the profile contributes. Additional Resources: [PlayerSettings](/engine/6000.0/script-reference/unityeditor/playersettings.md).
