# SetAdditionalBakeDelegate(AdditionalBakeDelegate)

> Set a delegate that bakes additional data. This delegates must set its done parameter to true once baking is finished to unlock the baking pipeline. Must be reset by calling ResetDelegate again.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** This method has been deprecated. Use AddBakeDelegate instead.

```csharp
public static void SetAdditionalBakeDelegate(Lightmapping.AdditionalBakeDelegate del)
```

### Parameters

**** (\[AdditionalBakeDelegate]\(/engine/6000.6/script-reference/unityeditor/lightmapping/additionalbakedelegate)):&#x20;
