文档

Unity Engine

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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