Added support for Ultraleap Unity SDK v5 & v6
This commit is contained in:
parent
87672ce3ee
commit
02329b3532
@ -874,6 +874,7 @@ namespace Passer.Humanoid {
|
|||||||
public static bool CheckExtensionLeap(Configuration configuration) {
|
public static bool CheckExtensionLeap(Configuration configuration) {
|
||||||
bool available = isLeapAvailable && isLeapSupportAvailable;
|
bool available = isLeapAvailable && isLeapSupportAvailable;
|
||||||
CheckExtension(available, "hLEAP");
|
CheckExtension(available, "hLEAP");
|
||||||
|
CheckExtension(isUltraLeapAvailable, "hULTRALEAP");
|
||||||
configuration.leapSupport = available;
|
configuration.leapSupport = available;
|
||||||
return 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 {
|
private static bool isAstraAvailable {
|
||||||
get {
|
get {
|
||||||
return DoesTypeExist("Astra.Body");
|
return DoesTypeExist("Astra.Body");
|
||||||
|
Binary file not shown.
@ -11,6 +11,7 @@
|
|||||||
"PhotonVoice.API",
|
"PhotonVoice.API",
|
||||||
"LeapMotion",
|
"LeapMotion",
|
||||||
"LeapMotion.LeapCSharp",
|
"LeapMotion.LeapCSharp",
|
||||||
|
"Ultraleap.Tracking.Core",
|
||||||
"SteamVR",
|
"SteamVR",
|
||||||
"Unity.XR.OpenVR"
|
"Unity.XR.OpenVR"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user