浏览代码

Fix standalone builds: Light.lightmapBakeType is only available in the editor

/main
Mikko Strandborg 7 年前
当前提交
ed187777
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/Light/HDAdditionalLightData.cs

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/Light/HDAdditionalLightData.cs


{
lightData.lightTypeExtent = LightTypeExtent.Rectangle;
light.type = LightType.Point; // Same as in HDLightEditor
#if UNITY_EDITOR
#endif
}
// At first init we need to initialize correctly the default value

正在加载...
取消
保存