Merge remote-tracking branch 'origin/dev_mobile_ble' into dev_mobile

# Conflicts:
#	Assets/Scripts/Scenes/MainController.cs
This commit is contained in:
Caiyanpeng committed 2021-08-27 10:13:17 +08:00
commit 85130ce6c3
16 files changed
+135 -69

No files matched your search

@@ -90,7 +90,6 @@ public class DeviceController : PFUIPanel
protected override void Awake()
{
base.Awake();
//Debug.Log("device awake");
}
@@ -109,6 +108,7 @@ public class DeviceController : PFUIPanel
{
//UIManager.ShowHomePanel();
//UIManager.CloseModal();
App.MainDeviceAdapter.StopScan();
this.Close();
}));
//UIManager.AddEvent(mReturnBtn.gameObject, EventTriggerType.PointerUp, (e) =>
@@ -191,7 +191,9 @@ public class DeviceController : PFUIPanel
cg.alpha = 0;
base.Show();
App.MainDeviceAdapter.ClearDevice();
#if UNITY_ANDROID || UNITY_IOS
App.MainDeviceAdapter.StartScan();
#endif
cg.DOFade(1f, 0.3f);
}