Unity Overview
This section includes information about developing Unity applications for Magic Leap 2.
caution
Magic Leap encourages you to use the new Unity Magic Leap OpenXR Workflow instead. If you choose the Magic Leap XR workflow, you must download an older version of the Magic Leap Unity SDK, version 1.12.0.
Android SDK Features
The following features can be accessed on the Magic Leap 2 using Android APIs.
Feature | Notes |
---|---|
Battery | SystemInfo.batteryLevel SystemInfo.batteryStatus |
App / Device Identifier | SystemInfo.deviceUniqueIdentifier |
Language / Locale | Application.systemLanguage |
Internet status | Application.internetReachability |
Manifest Customization | Place AndroidManifest.xml in Assets/Plugins/Android |
Permissions | Unity Android Permissions |
Android Intents | Unity apps can send and receive intents with other Android apps on device |
Unity Profiler | Unity profiler info for Android is valid for ML2 as well |
Android Logcat in Editor | Android Logcat Package |
More Information
🗃️ Getting Started
7 items
🗃️ MLAudio
2 items
🗃️ Power Manager
2 items
🗃️ MLSpaces
2 items
🗃️ MLCamera
4 items
🗃️ Input
7 items
🗃️ Perception
3 items
🗃️ Permissions
4 items
🗃️ Soundfield Audio (MSA)
2 items
🗃️ Graphics
5 items
🗃️ Marker Tracking
4 items
🗃️ Web View
2 items
🗃️ Platform Detection
3 items
🗃️ SDK Example Scenes
24 items
🗃️ Resources
4 items