기술 자료

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.
읽는 시간 1분최근 업데이트: 23일 전

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