Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetLightingDataAssetForScene(Scene)

Gets the LightingDataAsset associated with a specific scene. This method will return null if the scene has no LightingDataAsset, or the scene is invalid.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static LightingDataAsset GetLightingDataAssetForScene(Scene scene)

Parameters

scene

The scene to get the LightingDataAsset for.

Returns

Type

Description

LightingDataAssetThe LightingDataAsset associated with the scene.

Remarks