Skip to content

Commit b9a0e6b

Browse files
committed
Added missing support to disable SteamVR/OpenVR support.
1 parent f0667c2 commit b9a0e6b

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Assets/VRstudios/XRInput/API/OpenVR_Legacy.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
using System.Runtime.InteropServices;
55
using System.Text;
66

7-
#if UNITY_STANDALONE
7+
#if UNITY_STANDALONE && !XRINPUT_DISABLE_STEAMVR
88
using Valve.VR;
99
#endif
1010

1111
namespace VRstudios.API
1212
{
13-
#if UNITY_STANDALONE
13+
#if UNITY_STANDALONE && !XRINPUT_DISABLE_STEAMVR
1414
public sealed class OpenVR_Legacy : XRInputAPI
1515
{
1616
private CVRSystem system;

Assets/VRstudios/XRInput/API/OpenVR_New.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
using System.Runtime.InteropServices;
33
using System.IO;
44

5-
#if UNITY_STANDALONE
5+
#if UNITY_STANDALONE && !XRINPUT_DISABLE_STEAMVR
66
using Valve.VR;
77
#endif
88

99
namespace VRstudios.API
1010
{
11-
#if UNITY_STANDALONE
11+
#if UNITY_STANDALONE && !XRINPUT_DISABLE_STEAMVR
1212
public sealed class OpenVR_New : XRInputAPI
1313
{
1414
private CVRSystem system;

Assets/VRstudios/XRInput/XRInput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private IEnumerator Start()
6161
singleton = this;
6262

6363
// print version
64-
Debug.Log("XRInput version: 1.0.10");
64+
Debug.Log("XRInput version: 1.0.11");
6565

6666
// wait for XR loader
6767
while (loader == null || !XRSettings.enabled)

ProjectSettings/ProjectVersion.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2020.3.15f2
2-
m_EditorVersionWithRevision: 2020.3.15f2 (6cf78cb77498)
1+
m_EditorVersion: 2020.3.16f1
2+
m_EditorVersionWithRevision: 2020.3.16f1 (049d6eca3c44)

0 commit comments

Comments
 (0)