This version of Unity is unsupported.

Lightmapping.SetLightingSettingsForScenes

Declaration

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

Parameters

scenes The 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.
lightingSettings The LightingSettings object.

Description

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