骑行界面调整,底层逻辑细化
This commit is contained in:
1 parent
d5133ee7b0
commit
9a7830f46a
168 files changed
+19164
-393
No files matched your search
@@ -27,7 +27,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
|
||||
GameObject _directionsGO;
|
||||
GameObject _mipMapRoute;
|
||||
MainController mainCotroller;
|
||||
CyclingController cyclingCotroller;
|
||||
|
||||
protected virtual void Awake()
|
||||
{
|
||||
@@ -42,7 +42,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
|
||||
public void Start()
|
||||
{
|
||||
mainCotroller = transform.parent.GetComponent<MainController>();
|
||||
cyclingCotroller = transform.parent.GetComponent<CyclingController>();
|
||||
StartCoroutine(QueryTimer());
|
||||
//CreateRoute();
|
||||
}
|
||||
@@ -70,7 +70,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
var meshData = new MeshData();
|
||||
var dat = new List<Vector3>();
|
||||
|
||||
var mapData = mainCotroller.GetMapData();
|
||||
var mapData = cyclingCotroller.GetMapData();
|
||||
if (mapData != null)
|
||||
{
|
||||
foreach (var mapDataItem in mapData.List)
|
||||
|
||||
Reference in new issue
Block a user