设备连接微调

This commit is contained in:
lishuo committed 2021-09-15 14:17:11 +08:00
1 parent afb8c358f5
commit ad26419654
7 files changed
+55 -21

No files matched your search

+3 -3
View File
@@ -37,7 +37,7 @@ public class MainController : BaseScene
//rect1.offsetMax = Vector2.zero;
//transform.Find("ModalPanel").GetComponent<RectTransform>().sizeDelta = new Vector2(844, 390);
#endif
App.MainDeviceAdapter.StartScan();
//App.MainDeviceAdapter.StartScan();
}
@@ -110,8 +110,8 @@ public class MainController : BaseScene
scanTicks++;
if (scanTicks == 10)
{
App.MainDeviceAdapter.StopScan();
Debug.Log("StopScan");
//App.MainDeviceAdapter.StopScan();
//Debug.Log("StopScan");
}
}
}