graph chart引入&骑行结果弹窗
This commit is contained in:
1 parent
40d118cea3
commit
96f3644b5b
2374 files changed
+485161
-2410
No files matched your search
@@ -66,11 +66,11 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
}
|
||||
|
||||
|
||||
PlayerController playerController;
|
||||
public PlayerController playerController;
|
||||
public void Start()
|
||||
{
|
||||
cyclingCotroller = transform.parent.GetComponent<CyclingController>();
|
||||
playerController = FindObjectOfType<PlayerController>();
|
||||
//playerController = FindObjectOfType<PlayerController>();
|
||||
_map.OnTileFinished += _map_OnTileFinished;
|
||||
StartCoroutine(QueryTimer());
|
||||
//CreateRoute();
|
||||
@@ -99,7 +99,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
var path = new List<Vector3>();
|
||||
|
||||
var mapData = cyclingCotroller.GetMapData();
|
||||
if (mapData != null)
|
||||
if (mapData != null && playerController != null)
|
||||
{
|
||||
//foreach (var mapDataItem in mapData.List)
|
||||
for (int i = 0; i < mapData.List.Count; i++)
|
||||
|
||||
Reference in new issue
Block a user