Lightmapping.SetLightingSettingsForScenes

Switch to Manual
public static void SetLightingSettingsForScenes (Scene[] scenes, LightingSettings lightingSettings);

Parameters

scenesThe array of Scene objects. If the Scene.isLoaded property is false on a Scene object, the method does not apply the settings to that object.
lightingSettingsThe LightingSettings object.

Description

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