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

Commit dfc3654

Browse files
Fix for Switch compilation.
This fix was advised by XR Team as XRSettins is now stubbed on all platforms.
1 parent 4575687 commit dfc3654

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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, Switch and PS Vita
2-
#if ((UNITY_XBOXONE && !UNITY_2018_3_OR_NEWER) || UNITY_SWITCH || UNITY_PSP2) && !UNITY_EDITOR
2+
#if ((UNITY_XBOXONE || UNITY_SWITCH || UNITY_PSP2) && !UNITY_2018_3_OR_NEWER) && !UNITY_EDITOR
33
using System;
44

55
#if UNITY_2017_2_OR_NEWER

0 commit comments

Comments
 (0)