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