Exemplo n.º 1
0
 void RotateTowardsNextPoint()
 {
     agent.GetPathTowards(target.position.WithY(0));
     agent.LookTowardsNextPoint();
 }