# SetLightingDataAssetForScene(Scene, LightingDataAsset)

> Sets the LightingDataAsset associated with a specific scene.

## Definition

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

```csharp
public static void SetLightingDataAssetForScene(Scene scene, LightingDataAsset lda)
```

### Parameters

**** (\[Scene]\(/engine/6000.7/script-reference/unityengine/scenemanagement/scene)): The scene to set the LightingDataAsset for.**** (\[LightingDataAsset]\(/engine/6000.7/script-reference/unityeditor/lightingdataasset)): The LightingDataAsset to associate with the scene.

### Remarks

Additional Resources: [Lightmapping.GetLightingDataAssetForScene](/engine/6000.7/script-reference/unityeditor/lightmapping/getlightingdataassetforscene.md).
