void RotateTowardsNextPoint() { agent.GetPathTowards(target.position.WithY(0)); agent.LookTowardsNextPoint(); }