SDK Example Scenes
The Magic Leap 2 Unity Example Project showcases the Magic Leap's Unity SDK features. This section includes walkthroughs of each example and can be used as a reference point for development or troubleshooting.
View the following guides to setup and learn about each of the examples included in the Unity Examples Project.
Beginning with Magic Leap Unity SDK 2.0.0, the examples included in Magic Leap Hub are only OpenXR-supported samples.
For information on which of these examples work in App Simulator, please reference the App Simulator Key API Features page.
📄️ Install and Setup SDK Examples
This section describes how to download and configure the Magic Leap Unity Example project.
📄️ Anchors
An overview of the Anchors example scene which utilizes the Spaces application.
📄️ Audio Capture
An overview of the audio capture demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Camera Capture
An overview of the camera capture demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Controller
An overview of the controller demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Custom Fit
An overview of the Anchors example scene which utilizes the Spaces application.
📄️ CV Camera
An overview of the cv camera demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Depth Camera
An overview of the Depth Camera example scene.
📄️ Eye Tracking
An overview of the eye tracking demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Gesture Classification
An overview of the gesture classification demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Global Dimmer
An overview of the Global Dimmer example scene which showcases global dimming range.
📄️ Hand Tracking
An overview of the hand tracking demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Haptics
An overview of the Haptics example scene.
📄️ Hello Cube
An overview of the hand tracking demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Marker Tracking
An overview of the marker tracking demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Media Player
An overview of the media player demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Meshing
An overview of the meshing demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Plane Detection
An overview of the planes demo scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Segmented Dimmer
An overview of the Segmented Dimmer example scene which showcases the segmented dimming range.
📄️ Voice Intents
An overview of the Voice Intents scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ Wacom Tablet
An overview of the Wacom Tablet example scene.
📄️ WebRTC
An overview of the WebRTC scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ WebView
An overview of the WebView scene included in the Magic Leap 2 Examples Project, which uses Unity's XR Interaction Toolkit.
📄️ World Camera
An overview of the World Camera example.