This commit is contained in:
Pascal Serrarens 2023-03-14 10:55:06 +01:00
commit 9093521f43
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -4,7 +4,7 @@ using UnityEngine;
namespace Passer {
using Humanoid;
[CustomEditor(typeof(ControllerInput))]
[CustomEditor(typeof(ControllerInput), true)]
public class ControllerInput_Editor : Editor {
protected ControllerInput controllerInput;