Skip to content

Commit 3d6f6ee

Browse files
committed
[feat] update readme
1 parent d379d97 commit 3d6f6ee

File tree

2 files changed

+10
-21
lines changed

2 files changed

+10
-21
lines changed

README.md

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,16 @@ Connect with bluetooth in Unity (Android).
1212
<img src="https://i.imgur.com/SiCdH6U.png" height="400" /> <img src="https://i.imgur.com/Tw0lsmE.png" height="400" />
1313

1414

15-
## Notes
16-
17-
<!--
1815

19-
### AndroidManifest Permission
20-
These permissions are required!! You **MUST** add them to your manifest (`Plugins/Android/AndroidManifest.xml`).
2116

22-
```xml
23-
<!-- Bluetooth -->
24-
<uses-permission android:name="android.permission.BLUETOOTH"/>
25-
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
26-
<!-- For scanning nearby devices -->
27-
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <!-- Android > 10 -->
28-
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <!-- Android 9 -->
29-
```
17+
## Project Stucture
18+
- `UnityBluetoohArduino` Contains the simple arduino project, for testing send/write functions.
19+
- `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`)
20+
- `UnityBluetooth-Unity` The Unity project, the aar library is already in here. *(You only need this to build your unity app.)*
21+
- You may be interested in `BluetoothManager`
3022

31-
-->
23+
## Notes
3224

3325
After you install the app, you may need to manually enable the permissions under android application settings.
3426

3527
<img src="https://i.imgur.com/33vq1ev.png" height="400" />
36-
37-
38-
## Project Stucture
39-
- `UnityBluetoohArduino` Contains the simple arduino project, for testing send/write functions.
40-
- `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`)
41-
- `UnityBluetooth-Unity` The Unity project, the jar and library is already here. *(You only need this to build your unity app.)*

UnityBluetooth-Unity/Assets/UnityBluetooth/BluetoothUnity.asmdef

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"name": "BluetoothUnity",
33
"rootNamespace": "",
44
"references": [],
5-
"includePlatforms": [],
5+
"includePlatforms": [
6+
"Android",
7+
"Editor"
8+
],
69
"excludePlatforms": [],
710
"allowUnsafeCode": false,
811
"overrideReferences": false,

0 commit comments

Comments
 (0)