浏览代码

Added compatability ifdefs for XRGraphicsConfig, since it should be used

with postprocessing too
/main
Nerites 6 年前
当前提交
b179c9ac
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 8
      com.unity.render-pipelines.core/CoreRP/Common/XRGraphicsConfig.cs

8
com.unity.render-pipelines.core/CoreRP/Common/XRGraphicsConfig.cs


using System;
using UnityEditor;
using UnityEngine.XR;
#if UNITY_2017_2_OR_NEWER
using UnityEngine.XR;
using XRSettings = UnityEngine.XR.XRSettings;
#elif UNITY_5_6_OR_NEWER
using UnityEngine.VR;
using XRSettings = UnityEngine.VR.VRSettings;
#endif
namespace UnityEngine.Experimental.Rendering
{

正在加载...
取消
保存