// Start is called before the first frame update void Start() { agent = GetComponent <NavMeshAgent>(); path = Pathfinding.Depthwise(start, end); current = 0; StartCoroutine("Patrol"); }
// Start is called before the first frame update void Start() { path = Pathfinding.Depthwise(start, end); current = 0; }