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

Commit 3119900

Browse files
committed
Fix for missing XRSettings class on Vita
Vita doesn't have XRSettings so use the shim same as for XBoxOne and Switch
1 parent 658a9c2 commit 3119900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PostProcessing/Runtime/Utils/XRSettings.cs

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

55
#if UNITY_2017_2_OR_NEWER

0 commit comments

Comments
 (0)