# SetLightingSettingsForScenes(Scene[], LightingSettings)

> Applies the settings specified in the LightingSettings object to an array of Scene objects.

## Definition

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

```csharp
public static void SetLightingSettingsForScenes(Scene[] scenes, LightingSettings lightingSettings)
```

### Parameters

**** (\[Scene\[]]\(/engine/6000.5/script-reference/unityengine/scenemanagement/scene)): The array of [Scene](/engine/6000.5/script-reference/unityengine/scenemanagement/scene.md) objects. If the isLoaded property is `false` on a Scene object, the method does not apply the settings to that object.**** (\[LightingSettings]\(/engine/6000.5/script-reference/unityengine/lightingsettings)): The [LightingSettings](/engine/6000.5/script-reference/unityengine/lightingsettings.md) object.

### Remarks

Additional Resources: [Lightmapping.SetLightingSettingsForScene](/engine/6000.5/script-reference/unityeditor/lightmapping/setlightingsettingsforscene.md), [Lightmapping.GetLightingSettingsForScene](/engine/6000.5/script-reference/unityeditor/lightmapping/getlightingsettingsforscene.md).
