Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        agent = GetComponent <NavMeshAgent>();

        path    = Pathfinding.Depthwise(start, end);
        current = 0;

        StartCoroutine("Patrol");
    }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     path    = Pathfinding.Depthwise(start, end);
     current = 0;
 }