using Simulator.Data.Transport; using System.IO; using UnityEngine; using UVC.Data.Core; public class AGVPath : MonoBehaviour { PathDataClass data; LineRenderer lineRenderer; private void Awake() { lineRenderer=GetComponent(); } public void SetPathData(PathDataClass data,Vector3 from,Vector3 to) { this.data = data; lineRenderer.SetPosition(0, from); lineRenderer.SetPosition(1, to); } }