Register for the #3DJam – our global developer competition. Win $75,000+ in cash & prizes. [not now]

Build Leap Motion examples with Unity Standard (free license) 4.6

These additional steps show you how to build examples such as the ones in Examples Gallery with Unity Standard (Free version) 4.6. Note that this approach may only be effective for examples developed with Unity 4.6.1 or below. Basically, in the case of Unity Free, you need to unzip the associated ZIP file and import the files + Leap Motion DLL files to the project.

Steps

  1. Navigate to the Assets/Plugins folder in the example project.

  2. Move the following libraries from the Assets/Plugins folder to the project root folder:

    On Windows:

    • LeapCSharp.dll
    • Leap.dll

    On Mac:

    • libLeapCSharp.dylib
    • libLeap.dylib

    These files are also in the x86 folder of the SDK package, if you're working on a completely new project.

  3. Move Assets/Plugins/LeapCSharp.NET.3.5.dll to the root of your Assets folder (for both Mac and Windows).
  4. Now, delete Assets/Plugins folder. You're done!

Command Line instructions

Windows: move Assets\Plugins\Leap.dll . move Assets\Plugins\LeapCSharp.dll . move Assets\Plugins\LeapCSharp.NET3.5.dll Assets del Assets\Plugins Mac: mv Assets/Plugins/LeapCSharp.bundle/Contents/MacOS/libLeap*.dylib . mv Assets/Plugins/LeapCSharp.NET3.5.dll Assets rm -rf Assets/Plugins