设备连接页面检测定位服务
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user