Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

Lightmapping.GetLightingDataAssetForScene

Declaration

public static LightingDataAsset GetLightingDataAssetForScene(SceneManagement.Scene scene);

Parameters

Description
scene The scene to get the LightingDataAsset for.

Returns

LightingDataAsset The LightingDataAsset associated with the scene.

Description

Gets the LightingDataAsset associated with a specific scene. This method will return null if the scene has no LightingDataAsset, or the scene is invalid.