LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Lightmapping.lightingDataAsset

public static LightingDataAsset lightingDataAsset;

Description

The lighting data asset used by the active Scene.

Please note that modifying this value currently does not affect the Scene immediately, the lighting data is only patched into the active Scene when loading the Scene.