设备连接页面检测定位服务

This commit is contained in:
Caiyanpeng committed 2021-10-13 11:29:09 +08:00
1 parent efd1795e63
commit 9be2e77ae5
6 files changed
+14 -3

No files matched your search

@@ -81,7 +81,6 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler,
// }
// SceneManager.LoadScene("Ride");
//});
Debug.Log(84);
transform.GetComponent<Button>().onClick.RemoveAllListeners();
transform.GetComponent<Button>().onClick.AddListener(() =>
{
@@ -199,6 +199,10 @@ public class DeviceController : PFUIPanel
App.MainDeviceAdapter.ClearDevice();
#if UNITY_ANDROID || UNITY_IOS
App.MainDeviceAdapter.StartScan();
#if !UNITY_EDITOR && UNITY_ANDROID
Utils.CallAndroidMethod("OpenLocationService");
#endif
#endif
transform.MyDOFade();
}