浏览代码

HDRenderPipeline: Fix issue with FrameSettings not correctly initialize in StandAlone player

/main
sebastienlagarde 7 年前
当前提交
baa9627d
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/HDRenderPipelineAsset.cs

6
ScriptableRenderPipeline/HDRenderPipeline/HDRP/HDRenderPipelineAsset.cs


return m_FrameSettings;
}
public void OnEnable()
{
// At creation we need to copy serializedFrameSettings to m_FrameSettings
OnValidate();
}
public void OnValidate()
{
// Modification of defaultFrameSettings in the inspector will call OnValidate().

正在加载...
取消
保存