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
The scene to get the LightingDataAsset for.
Returns
Type | Description |
|---|---|
| LightingDataAsset | The LightingDataAsset associated with the scene. |
Remarks
Additional Resources: Lightmapping.SetLightingDataAssetForScene.