Setting up the Magic Leap Examples in Unity

To help get you started with the new Lumin SDK, Unity has some Magic Leap examples to browse through. Here’s a step-by-step guide to getting the examples loaded up in Unity. 

1. Installing the Magic Leap Examples in Unity

Download the Magic Leap Unity Examples

Open the Magic Leap Package Manager (if you don’t already have it installed here’s a handy post on setting it up).

Hover over the Magic Leap Unity Package in the Unity Packages table and click the Download icon.

Installing the Magic Leap Examples

Click Apply changes to start the download and install.

2. Locating the Magic Leap Examples Package

Finding where the Magic Leap Examples are Located

To find out where the examples were downloaded click the Open Folder button in the right pane while the Magic Leap Unity Package row is highlighted in the Unity Packages table.

The finder window should open showing the location of the examples.

Location of the Magic Leap Unity Examples

3. Create a New Magic Leap Project

Make a New Magic Leap Project in Unity

Open Unity and press New project.

Unity Project Settings for Magic Leap Project

Select Magic Leap from the Template dropdown. Set the project name and location and click Create project.

4. Import Magic Leap Examples Package

Importing the Magic Leap Examples in Unit

Open the Assets menu, choose Import Package then Custom Package.

Opening the Magic Leap Examples in Unity

When the finder opens navigate to where the Magic Leap examples package is located and click Open.

Importing the Magic Leap Examples in Unity

Click Import on the Import Unity Package popup and wait for the import to complete.

Magic Leap Examples Loaded in Unity

Once it’s imported you should see a new MagicLeap folder inside the Assets folder in the Project window. Open up Assets > MagicLeap > Examples > Scenes in the Project window and you’ll see all the example scenes.

> Next: Running the Magic Leap Gestures Example in the Simulator with Unity
< Previous: Setup the Magic Leap Lumin SDK

Leave a Reply

Your e-mail address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.