# Defines

> An array of constant defines for the shaders in this settings configuration.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Shaders](/engine/6000.7/script-reference/unityeditor/shaders.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public string[] Defines { set; }
```

### Remarks

Setting the value of this property will run validation on the data and throw an `ArgumentException` in the case of invalid data. You can only use this property for setting the data. To read the current data, use the [ShaderBuildSettings.GetDefinesCopy](/engine/6000.7/script-reference/unityeditor/shaders/shaderbuildsettings/getdefinescopy.md) method instead. A single array element should contain a string with a pair of identifier and numeric value, separated by a whitespace.
