Version: 2020.3
public bool bakedGI ;

描述

Whether to enable the Baked Global Illumination system for this Scene.

When this is set to true, this Scene uses the Baked Global Illumination system. This means that you are able to generate baked lightmaps, Light Probes and Reflection Probes for this Scene.

When this is set to false, this Scene does not use the Baked Global Illumination system. This means that you are unable to generate baked lightmaps and Light Probes for this Scene. At runtime, Unity will not load precomputed lighting data for this Scene, and Baked Lights and Mixed Lights will behave as Realtime Lights.

When Unity serializes this LightingSettings object as a Lighting Settings Asset, this property corresponds to the Baked GI property in the Lighting Settings Asset Inspector.

See Also: Lighting Settings Asset, realtimeGI.