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

Commit 90af199

Browse files
committed
Xbox One & Switch compatibility fix on 18.1+ (again)
1 parent eeac522 commit 90af199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PostProcessing/Runtime/Utils/XRSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Small shim for VRSettings/XRSettings on XboxOne and Switch
2-
#if !UNITY_2018_1_OR_NEWER && (UNITY_XBOXONE || UNITY_SWITCH)
2+
#if !UNITY_2018_2_OR_NEWER && (UNITY_XBOXONE || UNITY_SWITCH) && !UNITY_EDITOR
33
using System;
44

55
namespace UnityEngine.XR

0 commit comments

Comments
 (0)