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) {
|
||||
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");
|
||||
|
Binary file not shown.
@ -11,6 +11,7 @@
|
||||
"PhotonVoice.API",
|
||||
"LeapMotion",
|
||||
"LeapMotion.LeapCSharp",
|
||||
"Ultraleap.Tracking.Core",
|
||||
"SteamVR",
|
||||
"Unity.XR.OpenVR"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user