Added check for SteamVR before enabling Vive Tracker support
This commit is contained in:
parent
d476b2c269
commit
555c5fd2d8
@ -849,7 +849,7 @@ namespace Passer.Humanoid {
|
||||
|
||||
public static bool CheckExtensionViveTracker(Configuration configuration) {
|
||||
#if UNITY_STANDALONE_WIN
|
||||
bool available = isViveTrackerSupportAvailable;
|
||||
bool available = isSteamVrAvailable && isViveTrackerSupportAvailable;
|
||||
#else
|
||||
bool available = false;
|
||||
#endif
|
||||
@ -1153,8 +1153,7 @@ namespace Passer.Humanoid {
|
||||
|
||||
private static bool isSteamVrAvailable {
|
||||
get {
|
||||
return false;
|
||||
//return DoesTypeExist("Valve.VR.SteamVR");
|
||||
return DoesTypeExist("Valve.VR.SteamVR");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user