using System.Collections; using System.Collections.Generic; using UnityEngine; namespace BuildSystem { public class Car : MonoBehaviour { public Vector2Int pos; public Queue moveRoad = new Queue(); private void Update() { if (moveRoad.Count < 3) { } } /// /// 随机寻找下一个路径 /// /// void RandomFindRoad(Vector2Int pos) { //BuildSystemManager.Instance.gridMap[pos.x][pos.y] } } }