蓝牙停止扫描和一些bug修复

This commit is contained in:
lishuo committed 2021-08-26 19:33:43 +08:00
1 parent 0139cbc173
commit d8927ceca5
16 files changed
+137 -71

No files matched your search

+3 -2
View File
@@ -24,9 +24,10 @@ public class MainController : BaseScene
#if UNITY_ANDROID || UNITY_IOS
transform.GetComponent<CanvasScaler>().referenceResolution = new Vector2(844, 390);
transform.Find("Panel").GetComponent<RectTransform>().sizeDelta = new Vector2(844, 390);
transform.Find("ModalPanel").GetComponent<RectTransform>().sizeDelta = new Vector2(844, 390);
#endif
//transform.Find("ModalPanel").GetComponent<RectTransform>().sizeDelta = new Vector2(844, 390);
#else
App.MainDeviceAdapter.StartScan();
#endif
}
// Start is called before the first frame update