# BuildProfileSettingsProvider

> Provides the display information for a custom settings section in the Build Profile window.

## Definition

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

```csharp
public class BuildProfileSettingsProvider
```

## Remarks

Additional Resources: [BuildProfileSettingsProviderAttribute](/engine/6000.5/script-reference/unityeditor/build/profile/buildprofilesettingsproviderattribute.md).

## Examples

```csharp
using UnityEngine;
using UnityEditor.Build.Profile;

class SampleSettings : ScriptableObject
{
    public bool myBoolSetting;

    [BuildProfileSettingsProvider(typeof(SampleSettings))]
    static BuildProfileSettingsProvider createProvider() => new  BuildProfileSettingsProvider("MySampleSettings")
    {
        tooltip = "Sample settings provider for a ScriptableObject."
    };
}
```

## Properties

| Property                                                                                                                     | Description                                                                                                                                                                                                |
| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [canAddSetting](/engine/6000.5/script-reference/unityeditor/build/profile/buildprofilesettingsprovider/canaddsetting.md)     | Callback that determines if the settings object this provider describes can be added to the given build profile.                                                                                           |
| [displayName](/engine/6000.5/script-reference/unityeditor/build/profile/buildprofilesettingsprovider/displayname.md)         | Display name for the settings section in the Build Profile window.                                                                                                                                         |
| [hasCustomEditor](/engine/6000.5/script-reference/unityeditor/build/profile/buildprofilesettingsprovider/hascustomeditor.md) | When the value is true, Unity uses a custom implementation of an [Editor](/engine/6000.5/script-reference/unityeditor/editor.md). Otherwise, Unity displays the default inspector for the settings object. |
| [tooltip](/engine/6000.5/script-reference/unityeditor/build/profile/buildprofilesettingsprovider/tooltip.md)                 | Tooltip text for the custom settings section. If this value is empty, no tooltip is displayed.                                                                                                             |
