# canAddSetting

> Callback that determines if the settings object this provider describes can be added to the given build profile. Must be set for settings to appear in the Build Profile window; when not set, the settings will not be shown.

## Definition

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

```csharp
public Func<BuildProfile, bool> canAddSetting { get; set; }
```

### Remarks

The delegate receives a [BuildProfile](/engine/6000.7/script-reference/unityeditor/build/profile/buildprofile.md) and returns true if the settings foldout should be available for that profile.
