# AddBakeDelegate(BakeDelegate)

> Set a delegate that bakes additional data. This delegate must set its done parameter to true once baking is finished to unlock the baking pipeline.

## Definition

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

```csharp
public static void AddBakeDelegate(Lightmapping.BakeDelegate del)
```

### Parameters

**** (\[BakeDelegate]\(/engine/6000.5/script-reference/unityeditor/lightmapping/bakedelegate)):&#x20;
