Leap Motion Unity Assets
The Leap Motion Unity assets provide an easy way to get motion-controlled hands into a Unity game.
- Leap Motion 3.1.0+
- Unity 5.4.0+
- Windows 7+
Download the latest asset package from: https://developer.leapmotion.com/downloads/unity.
Open or create a project.
Select the Unity Assets > Import Package > Custom Package menu command.
Locate the downloaded asset package and click Open.
The assets are imported into your project. Example scenes can be found in the LeapMotion/Scenes folder.
Every development and client computer must also install the Leap Motion service software (which runs automatically after it is installed).
Note: If you are using an existing project that already contains Leap Motion assets, you must delete the old version before importing the new asset package. In addition, after importing, you must restart Unity to force it to reload the shared code libraries in the plugin.
If you do not see hands after adding the LeapHandController prefab to a scene and pressing play, check the following:
- The hands are within the scene camera’s field of view, not obscured by another 3D object, and are large enough to be visible. The 3D hands appear above the location of the LeapHandController prefab.
- Pause the game and check to see if you can find the hand models in the editor scene view.
- Make sure that the Unity Editor (or app if running outside the editor) has the OS input focus.
- Check that the Leap Motion icon in the task bar is green. If it has gone dark, the service isn’t sending out data. In this case, double check that the Leap Motion hardware is plugged in and check that the service is running.
- Open the Leap Motion Visualizer from the task bar icon menu. If you see hands in the Visualizer, the problem is most likely within the Unity plugin, scripts, or your own application. If there are no hands in the Visualizer, the problem is outside Unity.
- The Orion asset package is incompatible with earlier asset releases. Make sure any old asset files are removed before importing new assets.