Unity
Aidlab Unity SDK is distributed as a single .unitypackage containing plugins for Android, iOS, macOS, and Windows.
Download (2.1.4): AidlabSDK-Unity-2.1.4.unitypackage
Import
- Create/open a Unity project (recommended: recent LTS).
- In Unity:
Assets→Import Package→Custom Package...and select the.unitypackage. - Import all files.
After import you should see (at minimum):
Assets/AidlabPlugin/...(desktop/iOS plugin code)Assets/Plugins/...(Android/iOS native plugins)
If you see compile errors about UnityEngine.UI / UnityEngine.EventSystems, install uGUI (com.unity.ugui) in Package Manager.
Quick start (example scene)
- Open
Assets/Scenes/AidlabScene.unity(orAssets/Scenes/SampleScene.unity). - Press Play (Editor) to test scanning/connecting on Desktop, or build & run on a device.
Android
- Requires Android 12+ (API 31+).
- In Unity:
Project Settings→Player→Android→Other Settings→ setMinimum API Levelto Android 12 (API 31) or newer. - Make sure you request runtime Bluetooth permissions before scanning/connecting (see Establishing Connections).