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
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.
Click Apply changes to start the download and install.
2. Locating the Magic Leap Examples Package
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.
3. Create a New Magic Leap Project
Open Unity and press New project.
Select Magic Leap from the Template dropdown. Set the project name and location and click Create project.
4. Import Magic Leap Examples Package
Open the Assets menu, choose Import Package then Custom Package.
When the finder opens navigate to where the Magic Leap examples package is located and click Open.
Click Import on the Import Unity Package popup and wait for the import to complete.
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.