Version: 2022.1

Lightmapping.SetLightingSettingsForScene

切换到手册
public static void SetLightingSettingsForScene (SceneManagement.Scene scene, LightingSettings lightingSettings);

参数

scene The Scene object. If the Scene.isLoaded property is false, the method does not apply the settings.
lightingSettings The LightingSettings object.

描述

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