protected void FindNearestPoint() { Transform nearest = patrolPath.GetNearestPoint(this.transform); SetNewPoint(nearest); }