diff --git a/Editor/HumanoidControl/Configuration_Editor.cs b/Editor/HumanoidControl/Configuration_Editor.cs index 384e5f3..bc4289c 100644 --- a/Editor/HumanoidControl/Configuration_Editor.cs +++ b/Editor/HumanoidControl/Configuration_Editor.cs @@ -874,6 +874,7 @@ namespace Passer.Humanoid { public static bool CheckExtensionLeap(Configuration configuration) { bool available = isLeapAvailable && isLeapSupportAvailable; CheckExtension(available, "hLEAP"); + CheckExtension(isUltraLeapAvailable, "hULTRALEAP"); configuration.leapSupport = available; return available; } @@ -1152,6 +1153,12 @@ namespace Passer.Humanoid { } } + private static bool isUltraLeapAvailable { + get { + return DoesTypeExist("Leap.Unity.LeapTestProvider") == false; + } + } + private static bool isAstraAvailable { get { return DoesTypeExist("Astra.Body"); diff --git a/HumanoidControl documentation.pdf b/HumanoidControl documentation.pdf index 6fa003e..e386460 100644 Binary files a/HumanoidControl documentation.pdf and b/HumanoidControl documentation.pdf differ diff --git a/Runtime/PasserVR.HumanoidControl.asmdef b/Runtime/PasserVR.HumanoidControl.asmdef index 128a67c..5c491e9 100644 --- a/Runtime/PasserVR.HumanoidControl.asmdef +++ b/Runtime/PasserVR.HumanoidControl.asmdef @@ -11,6 +11,7 @@ "PhotonVoice.API", "LeapMotion", "LeapMotion.LeapCSharp", + "Ultraleap.Tracking.Core", "SteamVR", "Unity.XR.OpenVR" ],