void Start() { Manager = FindObjectOfType <WayPointManager>(); currentWayPoint = Manager.head; wayPoints = Manager.CopyPoints(fromIndex, endIndex - fromIndex); StartCoroutine(CheckWaypointDistance()); }