Ejemplo n.º 1
0
 public void goTo(Transform whereToGo)
 {
     path = NavMesh2D.GetPath(transform.position, whereToGo.position);
 }