Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit a305c56

Browse files
committed
Fix compiling for Xbox One with Unity 2017.1.
1 parent d6acfed commit a305c56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PostProcessing/Runtime/Utils/XRSettings.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
#if !UNITY_2018_2_OR_NEWER && (UNITY_XBOXONE || UNITY_SWITCH) && !UNITY_EDITOR
33
using System;
44

5+
#if UNITY_2017_2_OR_NEWER
56
namespace UnityEngine.XR
7+
#else
8+
namespace UnityEngine.VR
9+
#endif
610
{
711
#if UNITY_2017_2_OR_NEWER
812
public static class XRSettings

0 commit comments

Comments
 (0)