Improve Unity XR-Oculus detection
This commit is contained in:
parent
6d3c7edd0d
commit
750fccaaaa
@ -1120,6 +1120,9 @@ namespace Passer.Humanoid {
|
||||
return false;
|
||||
if (ConfigurationCheck.packageNameList.Contains("com.unity.xr.management"))
|
||||
return true;
|
||||
else if (ConfigurationCheck.packageNameList.Contains("com.unity.xr.oculus"))
|
||||
// Somehow management is no longer available when Oculus is used
|
||||
return true;
|
||||
else if (ConfigurationCheck.packageNameList.Contains("com.unity.xr.openxr"))
|
||||
// Somehow management is no longer available when OpenXR is used
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user