|
|
@@ -83,6 +83,11 @@ public class DeviceView : MonoBehaviour
|
|
|
//save
|
|
|
LoginMgr.myUserInfo.arrowAccValue = acc;
|
|
|
LoginMgr.myUserInfo.Save();
|
|
|
+
|
|
|
+ //关闭设备连接,用于提醒更换设备
|
|
|
+ if (BluetoothShoot.ins.status == BluetoothStatusEnum.ConnectSuccess) {
|
|
|
+ BluetoothShoot.ins.DoConnect();
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
SelectAccForArrow(LoginMgr.myUserInfo.arrowAccValue);
|