Lightmapping.SetLightingSettingsForScene

Switch to Manual
public static void SetLightingSettingsForScene (SearchService.Scene scene, LightingSettings lightingSettings);

Parameters

sceneThe Scene object. If the Scene.isLoaded property is false, the method does not apply the settings.
lightingSettingsThe LightingSettings object.

Description

Applies the settings specified in the LightingSettings object to the Scene object.