Connect with bluetooth in Unity (Android).
- Scan/Connect to remote device
- No need to pair the device beforehand
- Support PIN code input
- Send/Write Message
UnityBluetoohArduino
Contains the simple arduino project, for testing send/write functions.UnityBluetooth-AndroidStudio
The Android Studio project, to write the android-specified code, and export the .jar plugin to integrate with unity. (the jar is under./app/release
)UnityBluetooth-Unity
The Unity project, the aar library is already in here. (You only need this to build your unity app.)- You may be interested in
BluetoothManager
- You may be interested in
After you install the app, you may need to manually enable the permissions under android application settings.