路线产生逻辑微调
This commit is contained in:
1 parent
62938ec6ae
commit
92e43c2cd8
21 files changed
+3375
-1829
No files matched your search
@@ -43,9 +43,9 @@ public class CyclingController : DeviceServiceMonoBase
|
||||
//var result = GetTestData();
|
||||
MapDataModel result = mapApi.GetData(RouteId);
|
||||
|
||||
#if !UNITY_EDITOR
|
||||
|
||||
var antConnected = CheckAnt();//初始化ant+设备
|
||||
#endif
|
||||
|
||||
//if (!antConnected)
|
||||
//{
|
||||
// throw new Exception("请先连接设备");
|
||||
@@ -98,6 +98,11 @@ public class CyclingController : DeviceServiceMonoBase
|
||||
throw new System.Exception("fail to get route data");
|
||||
}
|
||||
}
|
||||
private void Start()
|
||||
{
|
||||
UIManager.Instance.MainPanel = this.transform.Find("SingleUI/Panel").GetComponent<PFUIPanel>();
|
||||
UIManager.Instance.ModalsPanel = this.transform.Find("SingleUI/ModalPanel").GetComponent<PFUIPanel>();
|
||||
}
|
||||
|
||||
private void InitParam()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user