浏览代码

Fix build on PS4

/main
Frédéric Vauchelles 6 年前
当前提交
8dadc110
共有 2 个文件被更改,包括 15 次插入13 次删除
  1. 26
      ScriptableRenderPipeline/Core/CoreRP/Debugging/MousePositionDebug.cs
  2. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/GlobalIlluminationUtils.cs

26
ScriptableRenderPipeline/Core/CoreRP/Debugging/MousePositionDebug.cs


}
}
public int debugStep
{
get
{
#if UNITY_EDITOR
return m_DebugStep;
#else
return 0;
#endif
}
}
#if UNITY_EDITOR
[ExecuteInEditMode]
class GameViewEventCatcher : MonoBehaviour
{

}
}
public int debugStep
{
get
{
#if UNITY_EDITOR
return m_DebugStep;
#else
return 0;
#endif
}
}
#if UNITY_EDITOR
private Vector2 m_mousePosition = Vector2.zero;
Vector2 m_MouseClickPosition = Vector2.zero;
int m_DebugStep = 0;

2
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/GlobalIlluminationUtils.cs


// Note that the HDRI is correctly integrated in the GlobalIllumination system, we don't need to do anything regarding it.
#if UNITY_EDITOR
#endif
ld.shadow = (byte)(l.shadows != LightShadows.None ? 1 : 0);

正在加载...
取消
保存