Orion support is the only way that using Leap Motion is viable. The old version is not reliable enough to demonstrate to my client.
The way I have it set up, I'm offering support for VR, Non VR and with or without Leap Motion.
I already have it adapting and using the Leap Motion differently for with or without VR so that Leap Motion will switch to desktop mode if VR is not detected.
But why won't you guys offer a solution similar to how VR is done:
if(VRDevice.isPresent)
{
}
I'd just like a way to ensure that without the device the library isn't called. This is my current and only working solution:
string osname = Environment.OSVersion.ToString();
if(osname.Contains("Windows"))
{
Debug.Log("LeapMotion Controller Detected");
// Choose Leap Controller
}
Let me know if there is a better way than this, without giving up Orion Support. Again, I'm okay with giving up the Leap Motion device support for non Windows.